Elapsed time that temperature is over a certain reading

Is there some way using Grafana to “count” how long a given reading has been over a certain number, or would I need to do this with some other processing software?

So for example, I’d like to know for how long my 3D printer’s temperature has been set above zero. Combine this figure with the total amount of time I have been monitoring the temperature, and I can get its utilisation statistic which shows me what percent of time the printer gets used.