Comments (4)
@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.
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.
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.
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)
- [BUG] Enoy Proxy container fails to initialize while trying to create an app mesh using the dj-app HOT 2
- [BUG] App Mesh Envoy version 1.17+ does not work with SPIRE for mTLS HOT 1
- Having 502 or https redirect loop (hard-mesh-time) HOT 4
- Walkthrough examples to deploy on Graviton instances
- [BUG] Fix howto-k8s-alb walkthrough HOT 1
- [BUG] Have a public ECR repo from common images generated in walkthrough
- Samples using deprecated APPMESH_VIRTUAL_NODE_NAME HOT 1
- Provide mTLS walkthrough for east-west traffic
- [BUG] Custom Envoy image does not startup in mTLS example
- [BUG] TLS examples don't work with default bash IFS HOT 1
- [QUESTION] Why an Envoy Service infront of Services with Envoy Sidecar? Why an NLB?
- "/bin/sh: yum: command not found" while implementing "howto-mutual-tls-file-provided" in the walkthroughs HOT 1
- [BUG] Can not remove the ending / in k8s manifest HOT 2
- [BUG] INSTANCE_PROFILE_NAME is empty because no prefix matches
- [BUG] HOT 5
- Grpc Load Balancing is not working
- [BUG] Internal SMTP connection fails with App Mesh HOT 1
- [BUG] wrktool in Circuit Breaker doesn't work successfully
- [BUG] Metrics related to Outbound Traffic are not exported after enabling the appmesh metric extension HOT 1
- [BUG] aws-app-mesh-examples/walkthroughs/howto-k8s-mtls-sds-based/v1beta2/manifest.yaml.template has issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-app-mesh-examples.