fix(config): prefer stable OTel deployment environment - #10050
Conversation
Overall package sizeSelf size: 8.42 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 445.14 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10050 +/- ##
==========================================
- Coverage 98.52% 97.07% -1.45%
==========================================
Files 992 992
Lines 149423 149425 +2
Branches 13009 12502 -507
==========================================
- Hits 147217 145060 -2157
- Misses 2206 4365 +2159 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
BenchmarksBenchmark execution time: 2026-08-28 17:57:35 Comparing candidate commit 3f1fadb in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2297 metrics, 13 unstable metrics.
|
4d8a558 to
3f1fadb
Compare
What does this PR do?
Maps
deployment.environment.nameto the Datadog environment. The legacydeployment.environmentattribute remains a fallback, andDD_ENVstill wins.Motivation
OpenTelemetry stabilized the deployment environment semantic convention under
deployment.environment.name.Related PRs:
Additional Notes
Five focused tests and 325 adjacent configuration tests passed. The five existing pending tests remain pending. The full lint check also passed.