← All types
Ob Object

MetricProjectionResult

Linear regression and forward projection of a metric

Fields

The metric that was analyzed

slope

Float!Non-null

Slope of the linear regression (units per second)

Y-intercept of the linear regression

rSquared

Float!Non-null

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

Referenced by (1)
Exact type 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
}