pub fn spawn_connection_pool_metric_collector( metrics: IndexerMetrics, connection_pool: ConnectionPool, )