Skip to main content
Solved

Sub-divide time range in Grafana

  • November 25, 2022
  • 3 replies
  • 70 views

Forum|alt.badge.img+1

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.

Best answer by ipolomanyi

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.

View original

ipolomanyi
Practitioner
  • Practitioner
  • November 28, 2022

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.


  • Seasoned Practitioner
  • December 2, 2022

Hi @Espen Ulset Nordsveen

I hope Ivan’s answer helped you?


Forum|alt.badge.img+1

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


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings