caffeine_lang/linker/expectations
Types
An Expectation is a concrete service-level assertion. When paired with a
measurement (measurement_ref: option.Some), it lowers to an SLO at codegen.
Unmeasured expectations skip codegen but participate in dependency
validation and graph generation.
description carries the joined text of ### doc comments that immediately
preceded the source * entry. It flows into the Datadog SLO description.
pub type Expectation {
Expectation(
name: String,
measurement_ref: option.Option(String),
inputs: dict.Dict(String, value.Value),
description: option.Option(String),
)
}
Constructors
-
Expectation( name: String, measurement_ref: option.Option(String), inputs: dict.Dict(String, value.Value), description: option.Option(String), )