-
Notifications
You must be signed in to change notification settings - Fork 475
[SDK] support aggregation of identical instruments #3358
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
[SDK] support aggregation of identical instruments #3358
Conversation
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
…ate storage registry to use the hash and equality structs. Add tests.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3358 +/- ##
==========================================
+ Coverage 89.98% 90.05% +0.08%
==========================================
Files 211 212 +1
Lines 6812 6932 +120
==========================================
+ Hits 6129 6242 +113
- Misses 683 690 +7
🚀 New features to boost your workflow:
|
…ak the ostream header and keep the meter instrument creation warning implementation in the same file
…umentDescriptorUtils struct. Add log streamable wrappers for scopes and instrument descriptors. Add tests for correcitve views for name and description duplicates
…st additions/cleanup
… case-insensitive equal function
…tiveAsciiEquals and IsDuplicate checks
Hi @lalitb, Could you take a look at this PR and share your feedback? Thanks! |
Apologies for the delay—will review and share feedback in the next couple of days. |
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.
@dbarker Thank you for your PR. This is very nicely done, thoroughly covers all test scenarios :)
[SDK] support aggregation of identical instruments (open-telemetry#3358)
Fixes #3356
Why?
The spec requires identical instruments to be aggregated and duplicate instruments to be detected and exported.
name
,kind
,unit
,description
Current behavior:
New behavior:
Changes
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes