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.
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