-
Notifications
You must be signed in to change notification settings - Fork 772
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
[bugFix] Meter tags are now recognized as identifiers #5982
base: main
Are you sure you want to change the base?
[bugFix] Meter tags are now recognized as identifiers #5982
Conversation
…eter identity uniqueness.
2458d0b
to
b5d1011
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5982 +/- ##
==========================================
+ Coverage 86.11% 86.23% +0.11%
==========================================
Files 257 257
Lines 11690 11688 -2
==========================================
+ Hits 10067 10079 +12
+ Misses 1623 1609 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
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.
Thanks!
Please add changelog entry too, as this is breaking existing behavior to fix bug.
src/OpenTelemetry/CHANGELOG.md
Outdated
@@ -6,6 +6,10 @@ Notes](../../RELEASENOTES.md). | |||
|
|||
## Unreleased | |||
|
|||
* Updated `OpenTelemetry.Metrics.MetricStreamIdentity` Metric tags are now considered identifiers, |
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.
* Updated `OpenTelemetry.Metrics.MetricStreamIdentity` Metric tags are now considered identifiers, | |
* Update Metric tags to be identifying for the Meter, aligning with the specification. Previously, Metric tags were omitted from being identifying. |
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.
Will anyone reading this understand it? 🤣
How about...
- Meter.Tags will now be considered when resolving the SDK metric to update when measurements are recorded. Meters with the same name and different tags will now lead to unique metrics.
PS: There is a lint error can't merge until that is resolved.
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.
Fine with the latter, made the change. can linter re instigate, I will check if its yet too long.
Fixes #5859
Design discussion issue #
Changes
Metric tags are now considered identifiers, contributing to metric scope uniqueness.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes