Giter Site home page Giter Site logo

Comments (4)

ivitjuk avatar ivitjuk commented on May 20, 2024 2

@seubert in addition to providing the whole bootstrap file by yourself, you can create a file with stats config only, mount it in the Envoy container, and pass environment variable ENVOY_STATS_CONFIG_FILE to the container with the full path to the stats config file as it's value.

Our bootstrap script will then detect ENVOY_STATS_CONFIG_FILE variable and include the referenced file into the generated Envoy bootstrap config.

Your stats config should include stats_sinks and stats_config bootstrap sections.

from aws-app-mesh-examples.

bcelenza avatar bcelenza commented on May 20, 2024 1

Given the discussion in #98 I'm assuming we've resolved this particular question, so closing the issue. Please re-open if you have any additional configuration issues.

from aws-app-mesh-examples.

bcelenza avatar bcelenza commented on May 20, 2024

Hey @seubert,

The envoy.dog_statsd sink is configured within the bootstrap configuration of Envoy (i.e. before it can reach out to our systems for dynamic configuration). Our bootstrap configuration is distributed with the 111345817488.dkr.ecr.us-west-2.amazonaws.com/aws-appmesh-envoy:v1.8.0.2-beta docker image.

It is possible to provide a separate bootstrap config to Envoy that would contain the proper sink settings. We have not yet published the Dockerfiles and build scripts for this image (#59), but I can point you in the right direction if you're interested in pursuing this approach.

Alternatively, we are actively working on making DogStatsD configuration easier (#7), and should have an update in this area in the coming weeks, so please watch that issue as well and provide any feedback or use cases of interest there.

from aws-app-mesh-examples.

seubert avatar seubert commented on May 20, 2024

Thanks @bcelenza. More info on how to properly provide a separate bootstrap config would be great. Right now I've just copied the generated config from the running Envoy containers, added my own settings, and mounted it at /tmp/envoy.yaml to "override" the generated one. This works but isn't particularly clean and depends on your Dockerfiles/build scripts not changing config path etc.

Thanks for the links to those other issues, I'll keep an eye on them as well.

from aws-app-mesh-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.