{label=""} means 'the label does not exist', and {label!=""} means 'the
label exists with any value'.
Labels cannot exist with empty string value.
Try it in PromQL expression browser and you'll see. For example:
up
up{flurblywombat=""}
- they will give the same result.
Note: it's the metric name plus bag of labels which is the unique identity
of the timeseries. When labels change or "go missing", you have created a
completely different timeseries.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/ee750f63-8ea7-40ce-b00e-aedf9136d474%40googlegroups.com.