[SDK] support aggregation of identical instruments#3358
Merged
lalitb merged 21 commits intoopen-telemetry:mainfrom May 9, 2025
Merged
[SDK] support aggregation of identical instruments#3358lalitb merged 21 commits intoopen-telemetry:mainfrom
lalitb merged 21 commits intoopen-telemetry:mainfrom
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
dbarker
commented
Apr 19, 2025
dbarker
commented
Apr 19, 2025
ThomsonTan
reviewed
Apr 30, 2025
dbarker
commented
Apr 30, 2025
dbarker
commented
Apr 30, 2025
… case-insensitive equal function
ThomsonTan
reviewed
Apr 30, 2025
…tiveAsciiEquals and IsDuplicate checks
ThomsonTan
approved these changes
May 1, 2025
Member
Author
|
Hi @lalitb, Could you take a look at this PR and share your feedback? Thanks! |
Member
Apologies for the delay—will review and share feedback in the next couple of days. |
malkia
added a commit
to malkia/opentelemetry-cpp
that referenced
this pull request
May 9, 2025
[SDK] support aggregation of identical instruments (open-telemetry#3358)
3 tasks
5 tasks
github-merge-queue Bot
pushed a commit
to open-telemetry/opentelemetry-specification
that referenced
this pull request
Mar 24, 2026
Updates the C++ spec compliance matrix.
## Changes
Update the C++ matrix to show support for the following features:
1. Associate Tracer with InstrumentationScope
- open-telemetry/opentelemetry-cpp#3214
1. `Gauge` instrument is supported
- open-telemetry/opentelemetry-cpp#3029
1. Exponential Histogram Aggregation
- open-telemetry/opentelemetry-cpp#3346
1. A valid instrument must be created when given the same name and
duplicates result in the first seen instrument
- open-telemetry/opentelemetry-cpp#3358
For non-trivial changes, follow the [change proposal
process](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CONTRIBUTING.md#proposing-a-change).
* [ ] Related issues #
* [ ] Related [OTEP(s)](https://github.com/open-telemetry/oteps) #
* [ ] Links to the prototypes (when adding or changing features)
* [ ]
[`CHANGELOG.md`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CHANGELOG.md)
file updated for non-trivial changes
* For trivial changes, include `[chore]` in the PR title to skip the
changelog check
* [x] [Spec compliance
matrix](https://github.com/open-telemetry/opentelemetry-specification/blob/main/spec-compliance-matrix/template.yaml)
updated if necessary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3356
Why?
The spec requires identical instruments to be aggregated and duplicate instruments to be detected and exported.
name,kind,unit,descriptionCurrent behavior:
New behavior:
Changes
For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes