Open ying-jeanne opened 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:
IDENS
as the keyword? Maybe just ID
as the shortest recognizable keyword?ID
line? I believe it will be rare to have an identifying label at all in the exposition (they usually come from target labels upon scrape), not to speak about having two or more. But I'm not sure if OM has a problem with repeated metadata lines.@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.
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.