Skip to main content
Planned for development

Maximum value in Timeseries without specifying granularity

Related products:API and SDKs
  • April 15, 2025
  • 1 reply
  • 53 views

Summary: Get aggregates, specifically the maximum and minimum value for a given timeframe of a time series, without needing to specify the granularity.

Suppose I want to get the maximum value of a time series between time A and B and the difference between A and B is 3 hours. To achieve this, I would need to specify a granularity of, say, 120 seconds and then find the maximum of the returned data points again. This additional computation can be avoided if the API allowed the user to just specify the start and stop time and get the single maximum/minimum data point in the interval. 

1 reply

Forum|alt.badge.img

Hi ​@Yatish Pitta, and thanks for this product idea.

This is something we have been thinking about and something we have an internal prototype for it (well, we have an internal prototype to allow getting most of the supported aggregates in a time window without the interval included).

From “internal prototype” to “released to general availability” will require some additional work, and internal synchronization in our engineering group, so this isn’t a “will be available imminently” feature we’re about to roll out!

But we do believe this is worth delivering to end users. We’re just evaluating the timing and scoping of the work. Will come back with more of a schedule once I know.