Hi,
I have a metric:
DS_Info{desc="GOT",index="312",name="EC80",exported_namespace="s905"}
Is there anyway I can alert if any one of these labels go missing. Not the metric, just one of the labels.
Thanks
Hi,
Assuming you know the labels:
DS_Info{desc=""} or DS_Info{index=""} or DS_Info{name=""} or DS_Info{exported_namespace=""}
regards
>
>
> Thanks
>
> --
> 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 prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/662678d9-b7d0-4d8a-a0d0-c6d0e37fda80%40googlegroups.com.
--
Julien Pivotto
@roidelapluie
On 26 May 15:59, Arnav Bose wrote:
> No, not that way. What I mean is there is a possibility that the label
> itself will be missing. Say the label desc will be completely missing from
> the metric. Instead of 4 labels I will get only 3 labels. I want to alert
> at that time.
Empty label and missing label are the same in this Promql example.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAJO1_QQRuvN8AYYT-thp_G7jBzcZTARMnqRbd66SyapokBErag%40mail.gmail.com.
--
Julien Pivotto
@roidelapluie