Skip to main content

attach_metrics

Function attach_metrics 

Source
pub fn attach_metrics(metrics: Arc<dyn SqlitePoolMetrics>)
Expand description

Reports the installed cache’s gauges through metrics, unless another pool already attached its metrics. The cache is process-wide, so whichever pool carries metrics reports it, regardless of which pool installed it.