What  mean?

在 2020年7月20日星期一 UTC+8下午2:59:06,Julien Pivotto写道:
>
> up offet 1h unless up
>
>
> That would fire for an hour with instance label.
>
> Le lun. 20 juil. 2020 à 08:47, [email protected] <javascript:> <
> [email protected] <javascript:>> a écrit :
>
>> Our requirement is the alarm for up metric, using 
>> absent(up{job="myjob",instance=~ ".* "}). but you won't get the instance 
>> information. Do you have any other suggestions?
>>
>> 在 2020年7月20日星期一 UTC+8下午2:29:22,Brian Candler写道:
>>>
>>> 1. There are an infinite number of possibilities which could match 
>>> instance=~".*"
>>>
>>> 2. The result of that query is vector of timeseries.  Each timeseries 
>>> must have concrete labels like foo="bar", whereas foo=~"bar|baz" is a 
>>> PromQL querying construct only.  That is, it's not a label, it's an 
>>> expression that selects labels.
>>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/1c3e069d-79d5-442b-9671-b92d810bda0eo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/1c3e069d-79d5-442b-9671-b92d810bda0eo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/d5d68c74-9396-4643-bdf4-1f6582912a35o%40googlegroups.com.

Reply via email to