Skip to content

Aggregation function for time-series data

graphql
enum SeriesAggregation {
  LAST
  FIRST
  AVG
  MIN
  MAX
  SUM
  COUNT
}

Values ​

SeriesAggregation.LAST ​

Last value in the bucket (most recent)

SeriesAggregation.FIRST ​

First value in the bucket (earliest)

SeriesAggregation.AVG ​

Average of values in the bucket

SeriesAggregation.MIN ​

Minimum value in the bucket

SeriesAggregation.MAX ​

Maximum value in the bucket

SeriesAggregation.SUM ​

Sum of values in the bucket

SeriesAggregation.COUNT ​

Count of values in the bucket

Member Of ​

SeriesResult object