Skip to content
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

DataPoint Flags are not mentioned in the Metrics Data Model #4053

Closed
mx-psi opened this issue May 17, 2024 · 4 comments · Fixed by #4135
Closed

DataPoint Flags are not mentioned in the Metrics Data Model #4053

mx-psi opened this issue May 17, 2024 · 4 comments · Fixed by #4135
Assignees
Labels
area:data-model For issues related to data model spec:metrics Related to the specification/metrics directory triage:accepted:ready

Comments

@mx-psi
Copy link
Member

mx-psi commented May 17, 2024

What are you trying to achieve?

I am working with the staleness marker added in open-telemetry/opentelemetry-proto/pull/316. It seems to be available on the proto, but not the data model.

What did you expect to see?

The staleness marker or datapoint flags more generally mentioned in the data model.

Additional context.

I guess what confuses me here is what the relationship between the proto and the data model is. Is the proto meant to be a superset of the data model? How should I interpret the semantics of fields present on the proto but not on the data model?

@mx-psi mx-psi added the spec:metrics Related to the specification/metrics directory label May 17, 2024
@arminru arminru added the area:data-model For issues related to data model label May 21, 2024
@dyladan
Copy link
Member

dyladan commented May 21, 2024

In the GC triage session we thought this was an interesting question that warranted TC attention:

I guess what confuses me here is what the relationship between the proto and the data model is.

@jmacd
Copy link
Contributor

jmacd commented May 22, 2024

@pyohannes @zeitlinger As both of you have approached this topic from the perspective of how to report timeseries deletion, I'd like to involve you in thinking about how to update the data model to define how the flags fit the model.

@pyohannes
Copy link
Contributor

@mx-psi Can you please have a look at #4135, it should solve this issue.

@mx-psi
Copy link
Member Author

mx-psi commented Jul 18, 2024

Thanks for the ping, I had missed it, looks good to me!

carlosalberto pushed a commit that referenced this issue Aug 8, 2024
Fixes #4053

## Changes

This PR extends the metric data model with data point flags, which were
added to the protocol in
open-telemetry/opentelemetry-proto#316.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:data-model For issues related to data model spec:metrics Related to the specification/metrics directory triage:accepted:ready
Projects
Status: Spec - Closed
Development

Successfully merging a pull request may close this issue.

7 participants