Skip to content

Support OpenTelemetry with OTLP exporter #357

@damienpontifex

Description

@damienpontifex

Enable opentelemetry and OTLP exporter so that requests and responses are visible within a wider system, open telemetry integration would be great to have out of the box with standard environment variables for configuration.

fastapi has automatic instrumentation support from the openetlemetry-python-contrib repo and is available here https://pypi.org/project/opentelemetry-instrumentation-fastapi/

If the environment variables aren't configured, then no exporting of traces would occur as expected

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