Documentation
¶
Overview ¶
Package metrics implements a database watcher consumer that derives event-driven Prometheus metrics from entity changes: runner lifecycle durations and job queue/execution timings. The watcher only surfaces writes, which is all this worker needs; read-path metrics (provider operations, listener polls) are instrumented at their call sites.
The handler does no I/O and no network calls. It reads the event payload, consults the in-memory cache for label resolution and updates Prometheus collectors. The watcher consumer machinery guarantees a slow consumer only grows its own queue and can never block the producer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.