Grafana can do that for you.  This is for metric "apcups_status_numeric" 
that returns 0, 1, 2, 3 etc:

[image: grafana-panel.png]

Corresponding panel configuration - under "Visualization"

[image: grafana-value-mappings.png]

-- 
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/d069575e-e2aa-4d2e-ad4a-53b916ecdcab%40googlegroups.com.

Reply via email to