Appearance
MetricBucket
Type: Object
A single time bucket in an aggregation result
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| avg | Float | Average value (or delta for counter metrics) | ||
| bucket | String! | Start of this time bucket (ISO8601) | ||
| count | Int! | Number of raw data points in this bucket | ||
| delta | Float | Counter delta with reset detection (Toolkit: counter_agg) | ||
| first | Float | First value in this bucket (time-ordered) | ||
| last | Float | Last value in this bucket (time-ordered) | ||
| max | Float | Maximum value in this bucket | ||
| min | Float | Minimum value in this bucket | ||
| rate | Float | Counter rate per second with reset detection (Toolkit: counter_agg) | ||
| stddev | Float | Standard deviation of values in this bucket | ||
| sum | Float | Sum of values in this bucket | ||
| timeWeightedAvg | Float | Time-weighted average accounting for irregular sample spacing (Toolkit) |