prometheus / docs

Prometheus documentation: content and static site generator
https://prometheus.io
Apache License 2.0
659 stars 1.01k forks source link

exposition format: specify precisely the semantics of empty label values #548

Open beorn7 opened 8 years ago

beorn7 commented 8 years ago

In general, a label with an empty value is identical to a label that is not set at all. However, while that is (or should be) true in PromQL, there is a specific semantics in the exposition format (i.e. a label with an empty value does exist and only disappears after all the relabeling steps, when it is ingested into Prometheus). We should be clear about this in the spec.

brian-brazil commented 8 years ago

The effect on honor_labels is the relevant thing. Any difference at the relabelling stage is a bug.