Skip to main content

Module metrics

Module metrics 

Source
Expand description

Prometheus metrics for the process-wide buffer pool and columnar chunk work.

Installed once by compute init via register. All metrics are computed gauges that peek at the pool’s stats at scrape time, reporting zero until something initializes the pool — a scrape must observe, not mmap the pool’s address space into every process that happens to be monitored.

Functions§

register
Install the buffer-pool metrics and the columnar chunk work counters into registry. Idempotent. Repeated calls after the first one are no-ops.