Repository navigation
[EXPORTER] Add bytes support for OTLP recordables - #3495
Conversation
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3495 +/- ##
==========================================
+ Coverage 89.95% 89.96% +0.02%
==========================================
Files 219 219
Lines 7051 7051
==========================================
+ Hits 6342 6343 +1
+ Misses 709 708 -1 🚀 New features to boost your workflow:
|
|
Unfortunately, as a side effect, this change also enables support for populating byte/uint8 types as span attribute values, which is inconsistent with the specs: Per the spec, an attribute value MUST be one of the following:
Supporting raw bytes or uint8 is not permitted for span attributes. It’s better to enable populating uint8_t as OTLP attributes or body only for logs, not for spans. |
lalitb
left a comment
There was a problem hiding this comment.
As mentioned - #3495 (comment)
Fixes unit test: SetEmptyArrayAttribute Fixes IWYU warnings Only LogRecord accept bytes
777f951 to
310964d
Compare
Thanks, only log record use bytes now. |
[EXPORTER] Add bytes support for OTLP recordables (open-telemetry#3495)
Fixes #3487
Changes
For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes