Skip to content

feat(otel): add OTLP integration#2030

Merged
Litarnus merged 6 commits intomasterfrom
otlp-integration
Mar 23, 2026
Merged

feat(otel): add OTLP integration#2030
Litarnus merged 6 commits intomasterfrom
otlp-integration

Conversation

@Litarnus
Copy link
Contributor

Adds OTLP support by providing an Integration.

It use it, it's necessary to add the integration in the init call:

  Sentry\init([
      'dsn' => '___PUBLIC_DSN___',
      'integrations' => [
          new Sentry\Integration\OTLPIntegration(),
      ],
  ]);

Using sentry tracing with OTLP tracing is not supported. If sentry tracing is enabled, the integration will not be registered

@Litarnus Litarnus marked this pull request as ready for review March 19, 2026 19:50
Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all lgtm, nice work!

# Conflicts:
#	tests/Logs/LogsAggregatorTest.php
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@Litarnus Litarnus merged commit aced06b into master Mar 23, 2026
46 checks passed
@Litarnus Litarnus deleted the otlp-integration branch March 23, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants