-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add sdk-config 0.3 support for key/value headers and attributes #1428
Conversation
- headers and attributes are now arrays with `key` and `value` elements - headers can optionally contain a `headers_list` element which supports a lower-priority CSV of key/value entries - attributes can optionally contain an `attributes_list` element which supports a lower-priority CSV of key/value entries
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1428 +/- ##
============================================
- Coverage 73.59% 73.26% -0.34%
Complexity 2685 2685
============================================
Files 387 387
Lines 7977 8009 +32
============================================
- Hits 5871 5868 -3
- Misses 2106 2141 +35
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's minor, but could we keep consistency and convert the snake-cased variables? 👼
src/Config/SDK/ComponentProvider/Logs/LogRecordExporterOtlp.php
Outdated
Show resolved
Hide resolved
src/Config/SDK/ComponentProvider/Logs/LogRecordExporterOtlp.php
Outdated
Show resolved
Hide resolved
Co-authored-by: Tobias Bachert <[email protected]>
@open-telemetry/php-approvers I think this is ready for review now. |
key
andvalue
elementsheaders_list
element which supports a lower-priority CSV of key/value entriesattributes_list
element which supports a lower-priority CSV of key/value entriesRelated: #1423