-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tracked_url_callback
to RequestsInstrumentor
#714
Conversation
We have this functionality right now for server instrumentations through environment variable. It will probably be good to use the same mechanism. |
Done |
Co-authored-by: Leighton Chen <lechen@microsoft.com>
"OTEL_PYTHON_REQUESTS_EXCLUDED_URLS": "http://localhost/env_excluded_arg/123,env_excluded_noarg" | ||
}, | ||
) | ||
self.env_patch.start() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stop the patch in teardown.
Head branch was pushed to by a user without write access
Description
Added a
tracked_url_callback
argument toRequestsInstrumentor
for the purpose of excluding URLs you don't want tracked.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist: