Skip to content

Add entry point for opentelemetry propagator #3085

Closed

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.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on May 19, 2024
  2. sentrivana commented on May 21, 2024

    @sentrivana
    Collaborator

    Thank you for the issue and the PR @mender, we will take a look.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on May 21, 2024
  4. added a commit that references this issue on Jul 2, 2024
    407f651
  5. added a commit that references this issue on Sep 30, 2024
    e065817
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions