Solved

Sub-divide time range in Grafana

  • 25 November 2022
  • 3 replies
  • 64 views

Is there a way of dividing a time series in Grafana over say 7 days into separate predefined time intervalls (e.g. 1 day) without aggregate the data in the time series over 24 hours? 

I guess what I am looking for is to create 7 different queries for the same time series over a defined time range (7 days) in Grafana, defined for each day in that time range, and then find the difference between the first and the last data point in each query for the specific time series.

icon

Best answer by ipolomanyi 28 November 2022, 09:34

View original

3 replies

Userlevel 1

Hi Espen,

As far as we know, there is no easy way to granularly control time parameters in the connector or/and in Grafana in general, unfortunately.
A possible workaround can be a Cognite function to calculate such things and write it to a new time series.

Userlevel 3

Hi @Espen Ulset Nordsveen

I hope Ivan’s answer helped you?

Hi, and thank you. Yes, that was what I suspected, so that is what I did 😊

Reply