Skip to content

Add entry point for opentelemetry propagator #3085

Closed
@mender

Description

@mender

Problem Statement

According to the documentation, the recommended way to integrate with OpenTelemetry is to completely replace existing propagators using

set_global_textmap(SentryPropagator())

In case of distributed tracing it is not correct behaviour. We have to add the SentryPropagator to the existing ones instead. Opentelemetry provides environment variables as a most common way to configure it. However, propagators added via environment variables must be declared in entry points (ref). And here is an example of how entry points are declared in OpenTelemetry.

Solution Brainstorm

I propose adding entry point for SentryPropagator in setup.py.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions