Skip to content

No span compression with apmotel #1644

Open

Description

Describe the bug
When apmotel package is imported spans cannot be compressed.

apmotel package override the apm context functions which calls span.TraceContext which marks the trace context as propagated. One of the requirement for a span to be eligible for compression is that the context is not propagated.

To Reproduce
A simple example like the one here with apmotel package imported.

Expected behavior
Spam should be eligible for compression when apmotel package is imported.

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions