I'm actually working on SLI/SLO visualization on Kibana.
My request is a bit complexe :
I need to visualize the remaining error budget using this formula :
EB = 436 minutes
IF (not status = "500" or latency < 2) / (status : *) < 0.98 :
THEN Remaining EB = EB - 1
And I need to Show the value on a Metric.
Is there a way to do so ?
I'll give more details in this comment.
So basically I have a huge amount of logs on my elastic,
In a first step I calculate the ratio (number of requests not 500 and number of requests < specified latency) / total number of requests which I define as availability ratio.
In a next step we define a remaining error budget = 436 minutes.
Last step : If availability ratio (during 1 minute time-window) < 0.98 we consider this minute as burned or HS so we do error budget = error budget - 1
My main objective is to keep track of this remaining error budget
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.