Skip to content

Commit

Permalink
nit: remove request.path tracing field
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Mar 12, 2024
1 parent 1edf407 commit 0be50c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/src/backends/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ macro_rules! request_span {
http.status_code = tracing::field::Empty,
// A bunch of extra things for metrics
// Should be able to make this clearer once `Valuable` support lands in tracing
request.path = path,
$($field)*
)
}
Expand Down Expand Up @@ -253,7 +252,6 @@ mod tests {
.with_span_field("http.uri")
.with_span_field("http.method")
.with_span_field("http.status_code")
.with_span_field("request.path")
.was_closed()
.finalize();

Expand Down Expand Up @@ -297,7 +295,6 @@ mod tests {
.with_span_field("http.uri")
.with_span_field("http.method")
.with_span_field("http.status_code")
.with_span_field("request.path")
.with_span_field("request.params.user_name")
.with_span_field("extra")
.was_closed()
Expand Down

0 comments on commit 0be50c3

Please sign in to comment.