← API reference
CANONICAL TYPE REFERENCE

MetricBucket

A single time bucket in an aggregation result

bucketString!

Start of this time bucket (ISO8601)

countInt!

Number of raw data points in this bucket

avgFloat

Average value (or delta for counter metrics)

minFloat

Minimum value in this bucket

maxFloat

Maximum value in this bucket

sumFloat

Sum of values in this bucket

firstFloat

First value in this bucket (time-ordered)

lastFloat

Last value in this bucket (time-ordered)

stddevFloat

Standard deviation of values in this bucket

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

deltaFloat

Counter delta with reset detection (Toolkit: counter_agg)

rateFloat

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

View exact 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
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.