You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need clarification of docs/instrumenting/exposition_formats.md, is it missing information? #1779
# HELP foo_total
# TYPE foo_total counter
foo_total{hostname="localhost",optionalExtraMetadata="my-cool-value",} 1.0
# HELP foo_total
# TYPE foo_total counter
foo_total{hostname="localhost",} 1.0
☝️ is this valid as of v0.4.0? I wrote an integration test that proves it is, but there is some debate on whether that's to spec or not.
Activity
brian-brazil commentedon Oct 29, 2020
This is not valid exposition, as you're repeating the HELP/TYPE and will be rejected by the reference parser in https://github.com/prometheus/common/tree/master/expfmt
Per the doc "Only one TYPE line may exist for a given metric name. ", and similarly for HELP.
lasomethingsomething commentedon Nov 18, 2026
Is this now sufficiently addressed at https://github.com/prometheus/docs/blob/main/docs/instrumenting/exposition_formats.md#grouping-and-sorting / issue OK to close?