From cc2d3a7a7eb5181dab6b586451fe0bf35ae95ade Mon Sep 17 00:00:00 2001 From: Robert Escriva Date: Fri, 1 Nov 2024 17:16:32 -0700 Subject: [PATCH] [CHORE] Log block id on cold get. (#3055) --- rust/blockstore/src/arrow/provider.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/blockstore/src/arrow/provider.rs b/rust/blockstore/src/arrow/provider.rs index a245de14ca4..5843eca3b79 100644 --- a/rust/blockstore/src/arrow/provider.rs +++ b/rust/blockstore/src/arrow/provider.rs @@ -263,7 +263,7 @@ impl BlockManager { .storage .get(&key) .instrument( - tracing::trace_span!(parent: Span::current(), "BlockManager storage get {id}"), + tracing::trace_span!(parent: Span::current(), "BlockManager storage get", id = id.to_string()), ) .await; match bytes_res { @@ -303,7 +303,7 @@ impl BlockManager { Err(GetError::StorageGetError(e)) } } - }.instrument(tracing::trace_span!(parent: Span::current(), "BlockManager get cold")).await + }.instrument(tracing::trace_span!(parent: Span::current(), "BlockManager get cold", block_id = id.to_string())).await } }