On Sun, May 10, 2020, at 06:25, Pooja Chauhan wrote:
> Hi ,
> I am using the query as mentioned by you : 
> (probe_ssl_earliest_cert_expiry{job="blackbox"} - time())/86400 but it gives 
> me value in minutes and not in days in grafana.
> 
> Whereas the output of prometheus is different .Pls suggest.

Grafana defaults to parsing the number as seconds. You can either change the 
units in Grafana to days, or remove the "/86400" from the formula. (For 
consistency I usually do the second one).

-- 
Harald

-- 
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/02480275-fe86-4ca7-9136-ec4cf1657815%40www.fastmail.com.

Reply via email to