Skip to content

Commit 5abb74a

Browse files
committed
Span name actually can be dynamic :)
1 parent 851511a commit 5abb74a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rust/worker/src/execution/operators/apply_log_to_segment_writer.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ impl<Writer: SegmentWriter + Send + Sync + Clone>
8787
.apply_materialized_log_chunk(materialized_chunk.clone())
8888
.instrument(tracing::trace_span!(
8989
"Apply materialized logs",
90+
otel.name = format!(
91+
"Apply materialized logs to segment writer {}",
92+
input.segment_writer.get_name()
93+
),
9094
segment = input.segment_writer.get_name()
9195
))
9296
.await

0 commit comments

Comments
 (0)