Here I have selected a tag in Grafana. Machine data was recorded. But the machine didn’t run all day. How can I display the running time? The data is in an InfluxDB 2 database. What is the InfluxDB query?
Second question: How can I display the duration of the selected period? So the difference between v.timeRangeStop and v.TimeRangeStart?