INPUT_OBJECT

StatsForecastInput

link GraphQL Schema definition

  • input StatsForecastInput {
  • # Optional confidence level (1-99)
  • confidenceLevel: Int!
  • # Optional forecast end time, defaults to endTime + (endTime - startTime)
  • forecastEndTime: DateTime
  • # Optional forecast start time, defaults to endTime. If set must be in range
  • # startTime..endTime
  • forecastStartTime: DateTime
  • # Optional forecast threshold
  • # If specified, the forecasting logic will return the time to reach that
  • # threshold.
  • # If threshold is not reached between forecastStartTime..forecastEndTime, the
  • # value will be set to Double.MAX_VALUE
  • # If threshold has been reached before endTime, the value will be zero
  • threshold: Float
  • # Optional boolean indicating the direction of the threshold relative to the data.
  • # If it is true (default) then the threshold triggers if the stat rises to the
  • # value of the threshold or above.
  • # If false, then the threshold triggers if the stat falls to the value of the
  • # threshold or below.
  • thresholdUp: Boolean!
  • }