Skip to main content

register

Function register 

Source
pub fn register(registry: &MetricsRegistry, policy: &'static TieredPolicy)
Expand description

Install the pager metrics into registry. Idempotent — repeated calls after the first one are no-ops. Computed gauges read the singleton TieredPolicy atomics at scrape time; their values reflect the live policy whether or not the column-paged batcher is currently enabled.