Time-series Aggregations

FunctionClickhouse Docs
timeSeriesGroupRateSumClickhouse DocsClickhouse Docs
timeSeriesGroupSumClickhouse DocsClickhouse Docs

boundingRatio

boundingRatio calculates the rate change based on metric argMax - argMin / max - min time.

Parameters:

  • t: date or date time value
  • metric: column containing metric value

Usage:

  • boundingRatio(t,metric)

Returns:

  • Array of aggregated results

Did this page help you?