The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.23.0.
Features
- Add
OTLPIntegrationsupport to interoperate with OpenTelemetry traces. (#2030)
\Sentry\init([
'dsn' => '__YOUR_DSN__',
'integrations' => [
new \Sentry\Integration\OTLPIntegration(),
],
]);- Add
log_flush_thresholdto automatically flush buffered logs after a configured number of log records. (#2032)
\Sentry\init([
'dsn' => '__YOUR_DSN__',
'enable_logs' => true,
'log_flush_threshold' => 20,
]);