I have a lot of timer data in influxdb which I can chart beautifully in Grafana.
The issue is that I want to get a Yes / No result on a chart based on the values of the data.
Here’s the scenario:
I want to find whether or not a specific timer was over 30 seconds and chart the result so I can see how often at least one timer was over 30 seconds in each timeslot on the chart.
I can already get the count of times something is longer than 30 seconds, but charting that isn’t very helpful because I’m trying to find if these longer running processes are related, and some of them have hundreds of data points while the others only have a handful, so the scale of the chart makes it very difficult to read.
I just want to be able to have a 1 if a specific query returns any result, and a 0 if it doesn’t, and I don’t know how to achieve that?