Skip to content

Option / documentation to filter out sentry internal transactions from default Opentelemetry export #3499

@ivan-klass

Description

@ivan-klass

Problem Statement

When using sentry-opentelemetry-agent while intentionaly keeping the main (otlp) exporter, in my traces panel I see a lot of internal sentry requests performed multiple times per second.
I would prefer a simple way to disable it, especially when it's not SENTRY_DEBUG.

Screenshot 2024-06-20 at 11 08 07

I've tried sentry-opentelemetry-agentcustomization but it kind of lacks documentation:

  • adding it as a runtime dependency doesn't seem to change the behavior
  • adding it as yet another java agent doesn't work:
Error occurred during initialization of VM
agent library failed Agent_OnLoad: instrument
Failed to find Premain-Class manifest attribute in /opt/docker/bin/../sentry-opentelemetry-agentcustomization/sentry-opentelemetry-agentcustomization-8.0.0-alpha.1.jar

Solution Brainstorm

Add a boolean property and env var like sentry.internal.otel-export andSENTRY_INTERNAL_OTEL_EXPORT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions