← API reference
CANONICAL TYPE REFERENCE

MetricProjectionResult

Linear regression and forward projection of a metric

The metric that was analyzed

slopeFloat!

Slope of the linear regression (units per second)

interceptFloat!

Y-intercept of the linear regression

rSquaredFloat!

R-squared goodness of fit (0.0-1.0, higher is better)

Number of data points used for the regression

Projected future values at regular intervals

Estimated time when the target value will be reached (ISO8601), if the trend permits

View exact SDL
"""Linear regression and forward projection of a metric"""
type MetricProjectionResult {
  """The metric that was analyzed"""
  metricId: MetricID!
  """Slope of the linear regression (units per second)"""
  slope: Float!
  """Y-intercept of the linear regression"""
  intercept: Float!
  """R-squared goodness of fit (0.0-1.0, higher is better)"""
  rSquared: Float!
  """Number of data points used for the regression"""
  sampleCount: Int!
  """Projected future values at regular intervals"""
  projections: [ProjectedPoint!]!
  """
  Estimated time when the target value will be reached (ISO8601), if the trend permits
  """
  targetReachesAt: String
}

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