Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between probe_success and up?

Tags:

prometheus

What's the difference between probe_success and up?

I see various examples where alerting is done based on either of them (eg. site down, instance down). Am I missing something?

like image 517
gurpal2000 Avatar asked Aug 23 '18 11:08

gurpal2000


1 Answers

up indicates whether Prometheus could talk to and successfully scrape a target, such as the blackbox exporter.

probe_success is a metric exposed by the blackbox exporter indicating if a probe succeeded.

For alerting you need both, as if the blackbox exporter is down or timing out then that's indicated by up and if the probe itself is failing that'll be indicated by probe_success.

like image 171
brian-brazil Avatar answered Sep 24 '22 02:09

brian-brazil