add container id to dogstatsd metrics#7435
Conversation
Overall package sizeSelf size: 4.56 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
This comment has been minimized.
This comment has been minimized.
BenchmarksBenchmark execution time: 2026-02-04 22:39:14 Comparing candidate commit ba076e2 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 229 metrics, 31 unstable metrics. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7435 +/- ##
==========================================
+ Coverage 80.40% 80.42% +0.01%
==========================================
Files 732 732
Lines 31050 31054 +4
==========================================
+ Hits 24966 24975 +9
+ Misses 6084 6079 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* add container id to dogstatsd metrics * add docker helper tests * prevent real container id from being used in test
* add container id to dogstatsd metrics * add docker helper tests * prevent real container id from being used in test
* add container id to dogstatsd metrics * add docker helper tests * prevent real container id from being used in test
* add container id to dogstatsd metrics * add docker helper tests * prevent real container id from being used in test
Please make sure your changes are properly tested!
What does this PR do?
Add container ID to DogStatsD metrics.
Motivation
The agent doesn't support the
Datadog-Entity-IDfor proxy requests, and for UDP there are no headers to begin with, so we have to add it to every metric.Additional Notes
DogStatsD is backward and forward compatible, so older agents will just ignore the new field.