Disabling/filtering query parameters for URIs in HTTP tracing #74340
Labels
area-System.Net
enhancement
Product code improvement that does NOT require public API changes/additions
in-pr
There is an active PR which will close this issue when it is merged
Milestone
Similar to #68675, we should consider some kind of configuration for disabling/filtering query parameters for URIs in HTTP tracing.
We should also discuss whether it should be a single config for tracing and logging, or they should be different.
Last time we discussed it, we believed it will be better to keep them separate for discoverability -- configuring HttpClientFactory's logging would make more sense as a part of general HttpClientFactory configuration.
Consuming tracing requires more conscious effort, so a setting there might be less evident (e.g. AppContext switch).
We also discussed that we generally don't like messing with all Uris at once (e.g. setting that will apply globally to all Uri.ToString)
Note that Barry's opinion was to have a single setting:
So I wonder maybe tracing's setting can apply to logging, but not the other way around.
The text was updated successfully, but these errors were encountered: