← All types
Ob Object

MetricBucket

A single time bucket in an aggregation result

Fields

bucket

String!Non-null

Start of this time bucket (ISO8601)

count

Int!Non-null

Number of raw data points in this bucket

avg

FloatNullable

Average value (or delta for counter metrics)

min

FloatNullable

Minimum value in this bucket

max

FloatNullable

Maximum value in this bucket

sum

FloatNullable

Sum of values in this bucket

first

FloatNullable

First value in this bucket (time-ordered)

last

FloatNullable

Last value in this bucket (time-ordered)

stddev

FloatNullable

Standard deviation of values in this bucket

Time-weighted average accounting for irregular sample spacing (Toolkit)

delta

FloatNullable

Counter delta with reset detection (Toolkit: counter_agg)

rate

FloatNullable

Counter rate per second with reset detection (Toolkit: counter_agg)

Referenced by (2)
Exact type SDL
"""A single time bucket in an aggregation result"""
type MetricBucket {
  """Start of this time bucket (ISO8601)"""
  bucket: String!
  """Number of raw data points in this bucket"""
  count: Int!
  """Average value (or delta for counter metrics)"""
  avg: Float
  """Minimum value in this bucket"""
  min: Float
  """Maximum value in this bucket"""
  max: Float
  """Sum of values in this bucket"""
  sum: Float
  """First value in this bucket (time-ordered)"""
  first: Float
  """Last value in this bucket (time-ordered)"""
  last: Float
  """Standard deviation of values in this bucket"""
  stddev: Float
  """
  Time-weighted average accounting for irregular sample spacing (Toolkit)
  """
  timeWeightedAvg: Float
  """Counter delta with reset detection (Toolkit: counter_agg)"""
  delta: Float
  """Counter rate per second with reset detection (Toolkit: counter_agg)"""
  rate: Float
}