Grafana multistat display

<< probe_ssl_earliest_cert_expiry{instance=~“$target”} -time() >>
i have this instruction it lets me display ssl expiry time using prometheus as datasources and Multistat as a panel type !
i need to convert time visualised to days ! For exemple 72 days and change axis to days or date instead of seconds !

I’m not familiar with Prometheus queries, but my first though would be to divide the value by 86400 (the number of seconds in a day).

Failing that, multistat has an option to set a ScaleFactor for the values. Try setting this to 0.00001157407407407407 (the reciprocal of 86400) and see if that does the trick.

If you still have trouble, enter an issue in multistat’s git page, including a sample data set fro your query inspector and I’ll see what I can do.
Michael Moore
Multistat

Hello ! i solved it thank you !
:grin::grin:

Le lun. 13 janv. 2020 à 14:27, Mdmoore via Grafana Community grafana@discoursemail.com a écrit :