ProductionQu Query

metricProjection

Topics: Devices

Compute a linear regression over historical data and project forward. Returns slope, R-squared, projected values with confidence intervals, and optionally the estimated time a target value will be reached. Requires metric:read permission.

Returns

MetricProjectionResult!

Arguments

Projection parameters

Exact field SDL
"""
Compute a linear regression over historical data and project forward. Returns slope, R-squared, projected values with confidence intervals, and optionally the estimated time a target value will be reached. Requires metric:read permission.
"""
metricProjection(
  """Projection parameters"""
  input: MetricProjectionInput!
): MetricProjectionResult! @topic(names: ["devices"])

Declared on Query. Access is checked by the platform for each operation.