Available on crate feature
metrics only.Expand description
Enrichment rules for Prometheus metrics.
Subsystems register Rules alongside their metrics on a
crate::metrics::MetricsRegistry. When env’s federated /metrics/public
endpoint scrapes a remote registry, it resolves the rules against the
catalog to attach human-readable name labels (e.g. cluster_name,
source_name) onto metrics.
Structs§
- Object
Name - The resolved, fully-qualified parts of a catalog object’s name.
Enums§
- Rule
- A declarative enrichment rule applied to a metric family at scrape time.
Traits§
- Name
Lookup - Resolves IDs to their names
Functions§
- label_
pair 🔒 - Builds a Prometheus
LabelPairfrom a label name and value.