Skip to content

MetricQueryResult

Defined in: runtime/metric.ts:29

readonly buckets: MetricQueryResultBucket[]

Defined in: runtime/metric.ts:35

Set of buckets that make up this result. Note that these buckets are sparse; if there is no result for a particular interval, no result is returned in the array.


readonly count: number

Defined in: runtime/metric.ts:14

The number of individual metrics that made up this single outcome.

MetricQueryResultEntry.count


readonly metricPrn: string

Defined in: runtime/metric.ts:36


readonly period: MetricQueryPeriod

Defined in: runtime/metric.ts:37


readonly value: number

Defined in: runtime/metric.ts:19

The emmited value of this point as per the supplied function. In the case of “count” it should be same as count above.

MetricQueryResultEntry.value