Expand description
Prometheus metrics for the column pager.
One process-wide PagerMetrics singleton, installed by compute init via
register. Counter observers (observe_*) are no-ops until that call
lands; the lazy initialization keeps tests and benches that donβt wire a
MetricsRegistry free of bookkeeping.
StructsΒ§
- Pager
Metrics - Process-wide pager metrics. Counters track cumulative observations since process start; gauges read the live policy atomics at scrape time.
StaticsΒ§
- METRICS π
FunctionsΒ§
- bytes_
to_ πu64 - metrics π
- observe_
pagein π - observe_
pageout π - observe_
resident_ πreleased - observe_
skip π - register
- Install the pager metrics into
registry. Idempotent β repeated calls after the first one are no-ops. Computed gauges read the singletonTieredPolicyatomics at scrape time; their values reflect the live policy whether or not the column-paged batcher is currently enabled.