Targetdown alert rule shows before PromQL query,
(count by(job, namespace, service) (up == 0) / count by(job, namespace, 
service) (up)) > 10 
<http://prometheus.teams.us-east-1.apicentral.axwaydev.net:9090/graph?g0.expr=100+%2A+%28count+by%28job%2C+namespace%2C+service%29+%28up+%3D%3D+0%29+%2F+count+by%28job%2C+namespace%2C+service%29+%28up%29%29+%3E+10&g0.tab=1>

what does job,service mean in this rule?
Why is there (up) in the ount by(job, namespace, service) (up) 
<http://prometheus.teams.us-east-1.apicentral.axwaydev.net:9090/graph?g0.expr=100+%2A+%28count+by%28job%2C+namespace%2C+service%29+%28up+%3D%3D+0%29+%2F+count+by%28job%2C+namespace%2C+service%29+%28up%29%29+%3E+10&g0.tab=1>
 
? I understand what is up==0.But I am not sure what is just (up) means in 
the denominator.

If I want to customize this query,how can I do this? is there a document 
reference for it? I am looking for Prometheus operator alert rule.

-- 
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/a7858aa1-a383-458b-b74e-587e9802a853n%40googlegroups.com.

Reply via email to