config: enable to set "MaxTPS" from environment variable#519
Conversation
|
CI failed, but I'm not sure if it's related this pull request: |
gbbr
left a comment
There was a problem hiding this comment.
This is a legit change. Added some comments, but other than that your implementation is fine. Thanks. If we merge it this week we can include it in the next release mid-November (6.7.0).
|
P.S. Don't worry about CI, it's a separate issue that we are having with the |
|
Thank you for the quick review and feedback! And I understood about the CI. Thanks! |
gbbr
left a comment
There was a problem hiding this comment.
Looks great! Thanks for adding the test too! We'll ship this in 6.7.0
|
Thank you! 🎉 |
I'm opening this pull request because the same motivation as DataDog/docker-dd-agent#291 .
We are heavy users of APM and require a higher max_traces_per_second than what the default provides (10).
I know we can specify the value in datadog.yaml (tracer.sampler > max_traces_per_second), but it would be great if we can use an environment variable for it. Especially under container environment like Kubernetes, it's really useful and convenient.