You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
I want to get the urls to exclude from somewhere else than environment variables.
Describe the solution you'd like
Providing an argument to exclude_urls, using as default _exclude_urls (generated from environment variable) should be an option for other setups.
Describe alternatives you've considered
The fastapi instrumentation just adds a middleware. I copied that method with the additional variable as input.
Additional context
This is a simple addition, in case it is up to consideration. I can send a PR if that is ok.
The text was updated successfully, but these errors were encountered:
https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py#L40
Is your feature request related to a problem?
I want to get the urls to exclude from somewhere else than environment variables.
Describe the solution you'd like
Providing an argument to
exclude_urls
, using as default_exclude_urls
(generated from environment variable) should be an option for other setups.Describe alternatives you've considered
The fastapi instrumentation just adds a middleware. I copied that method with the additional variable as input.
Additional context
This is a simple addition, in case it is up to consideration. I can send a PR if that is ok.
The text was updated successfully, but these errors were encountered: