Expand description
Database pool series: the connection gauges and the acquire-failure counter.
Structs§
- Pool
Usage - Open and idle connections of one pool, or the sum over several.
Enums§
Functions§
- record_
acquire_ error - Counts a failed acquisition; only a pool timeout is a pool failure.
- record_
acquire_ failure - record_
connections - Sets both state gauges of
poolfromusage. - run_
pool_ sampler - Samples every 15 s until the process, and so the task, ends.
- sample_
pools - Publishes the live pools; a tenant pool that left the registry no longer counts.