autopush_common::db::reporter

Function spawn_pool_periodic_reporter

source
pub fn spawn_pool_periodic_reporter(
    interval: Duration,
    db: Box<dyn DbClient>,
    metrics: Arc<StatsdClient>,
)
Expand description

Emit db pool (deadpool) metrics periodically