Add AttributeKeyValue abstraction to common otlp exporters#7026
Add AttributeKeyValue abstraction to common otlp exporters#7026jack-berg merged 3 commits intoopen-telemetry:mainfrom
Conversation
|
Initial use case for this more flexible behaviour is profiles requirement to pack N Alternatively the existing |
|
Key bits of context for me that we talked about in slack:
So this PR establishes the I dug up a conversation from 3/2024 where we talked about this exact thing: #6374 (comment) |
1bd6c4e to
5df2376
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7026 +/- ##
============================================
- Coverage 89.95% 89.90% -0.05%
- Complexity 6636 6641 +5
============================================
Files 745 747 +2
Lines 20010 20029 +19
Branches 1962 1962
============================================
+ Hits 17999 18007 +8
- Misses 1415 1426 +11
Partials 596 596 ☔ View full report in Codecov by Sentry. |
Allows individual
Attributesentries (Key/Value tuples) to be represented separately from anAttributescollection and marshalled to OTLP from e.g.Listrather thanAttributes(i.e.Map).