diff --git a/src/db/spanner/pool.rs b/src/db/spanner/pool.rs index ca5b2d7081..a27127e2ef 100644 --- a/src/db/spanner/pool.rs +++ b/src/db/spanner/pool.rs @@ -91,6 +91,9 @@ impl SpannerDbPool { #[async_trait(?Send)] impl DbPool for SpannerDbPool { async fn get<'a>(&'a self) -> ApiResult>> { + let mut metrics = self.metrics.clone(); + metrics.start_timer("storage.spanner.get_pool", None); + self.get_async() .await .map(|db| Box::new(db) as Box>)