grafana / mimir-prometheus

Apache License 2.0
35 stars 9 forks source link

[WIP] Otlp: Add info metrics identifiers labels in open metrics specification #650

Open ying-jeanne opened 4 months ago

ying-jeanne commented 4 months ago

This is a prototype for addressing identifier labels in OpenMetric

open for discussion, See design doc https://docs.google.com/document/d/1UC6crn7WO-iKRxwRZEg5mjTyiqHk5WbIWfbnsYsI1xw/edit?usp=sharing

In order to support info metrics we need to flag identifier labels in the open metrics schema, this PR intent to implement option 4 of design doc and add identifier labels in the TYPE metadata line separate each labels by comma.

beorn7 commented 4 months ago

Was this discussed anywhere? Is this meant as a PoC to propose a change in OpenMetrics?

I think we should write down some thoughts before implementing anything (but having some PoC code is fine – that's why I'm asking if there is maybe some written down thoughts or a design doc anywhere).

My random thoughts:

aknuds1 commented 4 months ago

@beorn7 Ying, Jesus, and I just discussed - we think there should be a design doc for hashing out the change :) I figure @ying-jeanne will create it, and invite you to discuss.