I just wanted to ask for your insights. My goal is having a panel that calculates the percentage of RTT that are below 20ms, 15 ms and 10 ms. currently this is my query but this doesn’t solve my current problem.
sum(rtt_msecs_value{pop=~"$pop", host=~"node.*"}[$resolution]) by (host)
Now I have thought is having this kind of query to get the percentage
sum(rtt_msecs_value{pop=~”$pop”, host=~”node.“}[$resolution]) by (host)<5 / sum(rtt_msecs_value{pop=~”$pop”, host=~”node.“}[$resolution]) by (host)>5 * 100`
but this doesn’t display any values. seems like a wrong way to get it .Please bare with me as i am new to grafana
I tried to have something like sum(rtt_msecs_value{pop=~”$pop”, host=~”node.“}[$resolution]) by (host)<5 / sum(rtt_msecs_value{pop=~”$pop”, host=~”node.“}[$resolution]) by (host)>5 * 100`
but not working