format peerServiceMapping of config object before emitting telemetry configuration payload#3566
Conversation
Overall package sizeSelf size: 5.17 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report
@@ Coverage Diff @@
## master #3566 +/- ##
===========================================
- Coverage 84.70% 68.32% -16.38%
===========================================
Files 219 213 -6
Lines 8948 8476 -472
Branches 33 33
===========================================
- Hits 7579 5791 -1788
- Misses 1369 2685 +1316
... and 66 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
BenchmarksBenchmark execution time: 2023-09-11 20:22:23 Comparing candidate commit b26f8db in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 470 metrics, 22 unstable metrics. |
85d15c5 to
73a0f3b
Compare
rochdev
left a comment
There was a problem hiding this comment.
There should be a test for the new behaviour.
…configuration payload (#3566) * rework telemetry configuration event to format config object before and correctly emit peerServiceMapping for intake
…configuration payload (#3566) * rework telemetry configuration event to format config object before and correctly emit peerServiceMapping for intake
…configuration payload (#3566) * rework telemetry configuration event to format config object before and correctly emit peerServiceMapping for intake
…configuration payload (#3566) * rework telemetry configuration event to format config object before and correctly emit peerServiceMapping for intake
What this PR does:
This PR adds a function that is used to format the tracer configuration object
peerServiceMappingattribute from a map to a string map. This is necessary for telemetry intake to accept the configuration key and value.Why this PR is needed:
The current way that NodeJS Telemetry flattens the tracer config object results in the current
peerServiceMappingobject being flattened as well, and therefore blocked at telemetry intake.Additional Notes