Describe the feature request
Hi. Our checks use Prometheus queries that return a floating point number. This works, but especially percentages and time values are hard to interpret, see the given examples.
A format flag for the return values would be great to solve this. It does not have to be as complex as in Grafana, but some basics would be nice.
Formats that would be currently useful to us:
- number (default)
- percent (0-1)
- time (seconds)
- data (bytes [1000 bits])
Examples:
io-usage in percent

certificate expiration in seconds

Describe the feature request
Hi. Our checks use Prometheus queries that return a floating point number. This works, but especially percentages and time values are hard to interpret, see the given examples.
A format flag for the return values would be great to solve this. It does not have to be as complex as in Grafana, but some basics would be nice.
Formats that would be currently useful to us:
Examples:
io-usage in percent
certificate expiration in seconds