Telemetry: supported way to turn off automatic OTLP export for a whole process when another library already exports · fastapi/fastapi · Discussion #16473 · GitHub
Skip to content
Discussion options

You must be logged in to vote

Thank you for the report and the clear explanation @ananthsub ! 🙌

I fixed/refactored it here: #16476

Now exporters are not automatically configured. So, it is opt-in, not opt-out. It can be enabled with the config auto_configure or with the env var FASTAPI_OTEL_AUTO_CONFIGURE=true. This is available in FastAPI 0.143.0, just released. 🚀

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ananthsub
Comment options

Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants