Skip to main content

Crate mz_metrics

Crate mz_metrics 

Source
Expand description

Internal metrics libraries for Materialize.

Modules§

dyncfgs 🔒
Dyncfgs used by mz-metrics.
lgalloc
Report lgalloc metrics.
rusage
Report rusage metrics.

Structs§

Metrics
Handle to metrics defined in this crate.
MetricsTask 🔒

Statics§

METRICS 🔒

Traits§

MetricsUpdate
Behavior to update metrics.

Functions§

all_dyncfgs
Adds the full set of all storage Configs.
desc_labels 🔒
Extracts a metric’s label keys from its Prometheus descriptor
describe_metrics
Returns the (name, help, labels, source) of every metric this crate registers through a metric!-wrapping macro (lgalloc and rusage).
register_metrics_into
Register all metrics into the provided registry.
update_dyncfg
Update the configuration of the metrics.