Interface AggregationSpec

interface AggregationSpec {
    groupBy?: readonly string[];
    histogram?: AggregationHistogramBucketSpec;
    metrics: readonly AggregationMetric[];
    timeSeries?: AggregationTimeSeriesSpec;
}

Properties

groupBy?: readonly string[]

Optional grouping fields. Empty / omitted = single-row aggregate.

Optional numeric bucketization intent for server-side histograms.

metrics: readonly AggregationMetric[]

Aggregation expressions.

Optional temporal interval intent for server-side time-series widgets.