feat: rename tracing field from uri
to url
in proxy handler functions
#1260
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates the logging instrumentation in the
dragonfly-client
proxy module to use the term "url" instead of "uri" for consistency and clarity. The changes affect both thehandler
andupgraded_handler
functions.Updates to logging fields:
dragonfly-client/src/proxy/mod.rs
: Updated the#[instrument]
macro in bothhandler
andupgraded_handler
functions to replace theuri
field withurl
. [1] [2]dragonfly-client/src/proxy/mod.rs
: Modified theSpan::current().record
calls in bothhandler
andupgraded_handler
to record theurl
field instead ofuri
. [1] [2]Related Issue
Motivation and Context
Screenshots (if appropriate)