Hello,
I need to know in percentage the time my service has been available in the last month, last week, etc (dynamic value).
The metric in question can return the values; 0, 1 and 2.
0 -> OK
1 -> Warning
2 -> KO
The idea I have is to disregard value 1 and only treat my service as KO when it has returned value 2. I am trying to build in a Grafana visualisation for the SLA in percentage that my service has been available according to the time range that the user specifies in the dashboard.
I've been doing some research and it seems that for this kind of cases it is not as simple as for example for those endpoints where Blackbox is used for example (as I cannot use probe_success).
Could someone help me?
Thank you in advance.
Regards.