โ† API reference
Query / devices

metricHistogram

Compute a value distribution histogram for a metric over a time range. Range bounds are auto-detected if not specified. Requires metric:read permission.

Arguments

Histogram parameters

Returns MetricHistogramResult!

Scalar fields at a glance

metricIdMetricID!
numBucketsInt!
rangeMinFloat!
rangeMaxFloat!
bucketWidthFloat!
totalCountInt!
โ†— View the complete MetricHistogramResult type

Explore in a view

Device Fleet
View exact SDL
"""
Compute a value distribution histogram for a metric over a time range. Range bounds are auto-detected if not specified. Requires metric:read permission.
"""
metricHistogram(
  """Histogram parameters"""
  input: MetricHistogramInput!
): MetricHistogramResult! @topic(names: ["devices"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.