Skip to content

MetricQueryResultBucket

Aggregated outcome for one interval, subdivided by the values of the next requested Dimension.

readonly byDimension: Record<string, MetricQueryResultBucket>

Nested buckets keyed by Dimension value, following the order given to MetricQueryBuilder.dimensions.


readonly byDimensionPrn: string | null

PRN of the Dimension whose values key byDimension, or null at the innermost level.


readonly count: number

Number of distinct contributions aggregated into this point.

MetricQueryResultEntry.count


readonly value: number

Aggregated value of the contributions under the query’s function; for count it equals count.

MetricQueryResultEntry.value