View Source Poolex.Private.Metrics (poolex v1.0.0)

Functions for dispatching metrics.

Summary

Functions

Dispatches metrics with current count of idle workers.

Starts a telemetry poller for dispatching metrics.

Functions

Link to this function

dispatch_pool_size_metrics(pool_id)

View Source
@spec dispatch_pool_size_metrics(Poolex.pool_id()) :: :ok

Dispatches metrics with current count of idle workers.

@spec start_poller([Poolex.poolex_option()]) :: GenServer.on_start()

Starts a telemetry poller for dispatching metrics.