Skip to content

MetricBucket ​

Type: Object

A single time bucket in an aggregation result

Fields ​

NameTypeArgsDescriptionDeprecated
avgFloatAverage value (or delta for counter metrics)
bucketString!Start of this time bucket (ISO8601)
countInt!Number of raw data points in this bucket
deltaFloatCounter delta with reset detection (Toolkit: counter_agg)
firstFloatFirst value in this bucket (time-ordered)
lastFloatLast value in this bucket (time-ordered)
maxFloatMaximum value in this bucket
minFloatMinimum value in this bucket
rateFloatCounter rate per second with reset detection (Toolkit: counter_agg)
stddevFloatStandard deviation of values in this bucket
sumFloatSum of values in this bucket
timeWeightedAvgFloatTime-weighted average accounting for irregular sample spacing (Toolkit)

Connect machines, automate workflows, and build custom apps for print production.