Skip to content

Commit

Permalink
[CHORE] Log block id on cold get. (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv authored Nov 2, 2024
1 parent 2a3feb5 commit cc2d3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/blockstore/src/arrow/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
}

Expand Down

0 comments on commit cc2d3a7

Please sign in to comment.