OTEL_PYTHON_FASTAPI_EXCLUDED_URLS doesn't suppress child spans from being created #1984
bbeattie-phxlabs
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the scenario:
opentelemetry-instrumentation-aiohttp-client
andopentelemetry-instrumentation-fastapi
are installedaiohttp
Now alter the environment such that
OTEL_PYTHON_FASTAPI_EXCLUDED_URLS
excludes the endpoint. Surprisingly, the aiohttp still generates a span!I see conversation around open-telemetry/opentelemetry-specification#530 on the subject of "stop tracing at this point", but that issue has sat open for 3+ years now.
Is there a better way to tackle this?
Beta Was this translation helpful? Give feedback.
All reactions