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
-
Measurement( name: String, params: dict.Dict(String, types.AcceptedTypes), inputs: dict.Dict(String, value.Value), )
Marker type for measurements that have passed validation.
pub type MeasurementValidated