Skip to content

4.23.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 23 Mar 13:20

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.23.0.

Features

  • Add OTLPIntegration support to interoperate with OpenTelemetry traces. (#2030)
\Sentry\init([
    'dsn' => '__YOUR_DSN__',
    'integrations' => [
        new \Sentry\Integration\OTLPIntegration(),
    ],
]);
  • Add log_flush_threshold to automatically flush buffered logs after a configured number of log records. (#2032)
\Sentry\init([
    'dsn' => '__YOUR_DSN__',
    'enable_logs' => true,
    'log_flush_threshold' => 20,
]);