Convert time to available pourcent

(Arethusa) #1

Hello,

I have this graph:

Is it possible with math fonction or other to convert this valu to “100” I want have a SLA ?
So if the value existe I want to see 100, and if not existe I whant to see 0.

(On other case I use SNMP and have math ( /9200*100) maybe I can do a thing like that with random time values)

Thank you.

(Matthias) #2

Take a look at the discrete panel: https://grafana.com/plugins/natel-discrete-panel
You can use a range mapping to change the color accordingly.

1 Like
(Arethusa) #3

Hello,

Thank you for your suggestion, that looks good and fix my problem.

Have a good day.