Skip to content

Commit

Permalink
Removes path from span name to normalize it
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfallak committed Sep 5, 2024
1 parent dd54a31 commit 601a7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casper-server/src/middleware/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ where
let connection_info = req.connection_info();
let span_builder = self
.tracer
.span_builder(format!("{} {}", req.method(), req.uri().path()))
.span_builder(format!("{}", req.method()))
.with_kind(trace::SpanKind::Server)
.with_attributes([
KeyValue::new("request.method", req.method().to_string()),
Expand Down

0 comments on commit 601a7a1

Please sign in to comment.