Goal

class Goal

This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The threshold that determines if the goal is being met.

Link copied to clipboard

The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

Link copied to clipboard

The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.

Functions

Link copied to clipboard
inline fun copy(block: Goal.Builder.() -> Unit = {}): Goal
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String