Module contract

Module contract 

Source
Expand description

Stable Phase 219 observability contract names.

These constants mirror docs/observability-metric-contract.md and docs/observability-event-trace-contract.md. Producers should use these names instead of repeating string literals so metrics, events, traces, dashboards, and docs stay aligned.

Constants§

FORBIDDEN_DEFAULT_METRIC_LABELS
Default production Prometheus labels must not use these fields.
PHASE_219_EVENT_NAMES
Required event names for Phase 219 lifecycle and decision streams.
PHASE_219_METRIC_FAMILIES
Required dimensional metric families for Phase 219 producers.
PHASE_219_SPAN_NAMES
Required span names for Phase 219 admission-to-lease traces.
STABLE_METRIC_FAMILIES
Existing aggregate metric families rendered by the current PrometheusExporter.

Functions§

is_forbidden_default_metric_label
Return true when label is forbidden on default production metric families.