There are two different metrics you are looking at.

(1) "up" says whether the scrape was successful - i.e. prometheus was able 
to communicate with blackbox_exporter and read the response

(2) "probe_success" is one of the metrics returned from blackbox_exporter, 
saying whether it was able to talk to the target or not

So if blackbox_exporter is working, but the target is down, you will get 
up=1 and probe_success=0.  If you kill blackbox_exporter, then you will get 
up=0

In terms of the two GUIs you showed: the blackbox_exporter is showing you 
"probe_success", but prometheus is showing you "up".

"up" is a special metric for prometheus: its one that it generates itself, 
so the prometheus GUI knows that it exists and gives it special treatment. 

"probe_success" is a metric which happens to be returned by 
blackbox_exporter.  The prometheus GUI doesn't give this any special 
treatment because it's just a metric like any other.  But if you go into 
the query page of prometheus and type "probe_success" as the promQL query, 
you'll see what you are looking for.

-- 
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/b1ef3eef-7386-4bfb-a3a6-bd8a1d0eca95%40googlegroups.com.

Reply via email to