-
Notifications
You must be signed in to change notification settings - Fork 264
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 metric.metadata for supporting additional metadata on metrics #514
Merged
Conversation
This file contains 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
jack-berg
reviewed
Dec 1, 2023
jack-berg
approved these changes
Dec 1, 2023
tigrannajaryan
approved these changes
Dec 4, 2023
arminru
reviewed
Dec 5, 2023
jack-berg
reviewed
Dec 12, 2023
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
arminru
changed the title
Add metric.attributes for supporting additional metadata on metrics
Add metric.metadata_attributes for supporting additional metadata on metrics
Dec 12, 2023
arminru
changed the title
Add metric.metadata_attributes for supporting additional metadata on metrics
Add metric.metadata for supporting additional metadata on metrics
Dec 12, 2023
carlosalberto
approved these changes
Dec 12, 2023
reyang
approved these changes
Dec 12, 2023
jmacd
approved these changes
Dec 12, 2023
jsuereth
approved these changes
Jan 9, 2024
Merged
It seems we are good to go, specially after 1.1.0 was released. @bogdandrutu maybe a last look? |
I think we are ready to merge (briefly mentioned this in the Spec call a week or two ago, and no reviews ever since). cc @bogdandrutu |
arminru
reviewed
Jan 31, 2024
jmacd
approved these changes
Jan 31, 2024
Co-authored-by: Armin Ruech <7052238+arminru@users.noreply.github.com>
arminru
approved these changes
Jan 31, 2024
5 tasks
Merged
1 task
carlosalberto
pushed a commit
to open-telemetry/opentelemetry-specification
that referenced
this pull request
Apr 8, 2024
…nown-typed metrics in OTLP (#3868) Fixes #3058 Fixes #1712 Fixes #2409 ## Changes Use metric.metadata (added in open-telemetry/opentelemetry-proto#514) to support representing prometheus metric types in OTLP.
VinozzZ
pushed a commit
to VinozzZ/opentelemetry-proto
that referenced
this pull request
Jun 21, 2024
…en-telemetry#514) * add metric.attributes for supporting additional metadata on metrics
VinozzZ
pushed a commit
to VinozzZ/opentelemetry-proto
that referenced
this pull request
Jun 21, 2024
…en-telemetry#514) * add metric.attributes for supporting additional metadata on metrics
VinozzZ
pushed a commit
to VinozzZ/opentelemetry-proto
that referenced
this pull request
Jun 21, 2024
…en-telemetry#514) * add metric.attributes for supporting additional metadata on metrics
VinozzZ
pushed a commit
to VinozzZ/opentelemetry-proto
that referenced
this pull request
Jun 21, 2024
…en-telemetry#514) * add metric.attributes for supporting additional metadata on metrics
carlosalberto
pushed a commit
to carlosalberto/opentelemetry-specification
that referenced
this pull request
Oct 31, 2024
…nown-typed metrics in OTLP (open-telemetry#3868) Fixes open-telemetry#3058 Fixes open-telemetry#1712 Fixes open-telemetry#2409 ## Changes Use metric.metadata (added in open-telemetry/opentelemetry-proto#514) to support representing prometheus metric types in OTLP.
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.
Part of open-telemetry/opentelemetry-specification#3058
Alternative to #496.
Language is borrowed from scope attributes, with the addition of:
Attributes are non-identifying.
The primary motivation is to support the prometheus unknown type without explicitly adding it to the data model.
This provides a place for additional information about metrics to be provided that isn't associated with individual data points. It is non-identifying to ensure it can be safely ignored by exporters if they don't support them.
Examples of problems this could be used to solve (not proposed, just examples):
Alternatives:
string
instead of `repeated opentelemetry.proto.common.v1.KeyValue.attributes
onGauge
instead of onMetric
.attributes
onDataPoint
instead of onMetric
.attributes
field ofDataPoint
, and would create confusion over which to use.@bogdandrutu @jack-berg @jsuereth @jmacd @tigrannajaryan