Hello, I did not succeed in finding the solution on the internet, I allow myself to ask the question here. how can I find the percentage difference between 2 values of the same metrics:
Example:
with:
mymetric {labela = “A”, labelB = “B”} [1h: 6m]
mymetric {labela = “A”, labelB = “B”} 1
2
3
4
5
6
7
8
9
10
I would like to have a request which gives me for example: there is 50% of request greater than 5
I use grafana
The on() and group_left() functions serve to allow for performing operations against different label sets. You can also instead use ignoring() in place of on() to only need to exclude the specific label which differs.