Skip to content

Conversation

iamemilio
Copy link
Contributor

@iamemilio iamemilio commented Oct 8, 2025

What does this PR do?

This is the next step towards full auto instrumentation with OTEL. Due to some known issues with uvicorn and OTEL, this must install automatic instrumentation in the server subprocess. This ensures full coverage and gets us started with a more native telemetry solution, but does mean that servers will be deployed with telemetry enabled by default. To disable it, we will instruct users to use the following standard design pattern for open telemetry:

export OTEL_SDK_DISABLED=true

Testing

This has been manually tested using the scripts/telemetry tools, and returns full distributed traces with dependency graphing.

@iamemilio iamemilio changed the title feat(otel): auto instrument each uvicorn worker feat(otel): auto instrument each uvicorn worker WIP Oct 8, 2025
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 8, 2025
@iamemilio iamemilio changed the title feat(otel): auto instrument each uvicorn worker WIP WIP: auto instrument each uvicorn worker Oct 8, 2025
@iamemilio iamemilio changed the title WIP: auto instrument each uvicorn worker WIP: auto instrument Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant