Skip to content

FastAPI native OpenTelemetry support (about to be released)Β #5108

Description

@tiangolo

Hello folks! (FastAPI author here) πŸ‘‹

I'm adding native OpenTelemetry support to FastAPI: fastapi/fastapi#16403. It uses the OpenTelemetry API with optional SDK/exporter dependencies. Existing contrib instrumentation takes precedence for compatibility.

(Also shoutout to @owais too that contacted me about this years ago and only now I'm finally being able to do it).

  • What would contrib need to delegate to native instrumentation on new FastAPI versions while preserving its configuration, hooks, and support for older versions? (I could also send a PR with this but you might prefer to do it directly)
  • Is there a public way to detect whether a global provider has been configured? We currently identify internal proxy classes.
  • I don't expect you to necessarily review the PR, but if there's anything important you want to check or anything wrong you detect, let me know!

Also, my GitHub notifications are a mess... πŸ˜… If you have opinions please send me an email note so I don't miss it here. πŸ™ˆ

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions