caffeine_lang/linker/measurements

Types

A Measurement provides a partial set of inputs to the SLO param schema and declares any additional params the bound Expectation must satisfy. The phantom type parameter state tracks whether the measurement is Raw or MeasurementValidated.

pub type Measurement(state) {
  Measurement(
    name: String,
    params: dict.Dict(String, types.AcceptedTypes),
    inputs: dict.Dict(String, value.Value),
  )
}

Constructors

Marker type for measurements that have passed validation.

pub type MeasurementValidated

Marker type for measurements that have not yet been validated.

pub type Raw
Search Document