github getsentry/sentry-elixir 14.0.0

4 hours ago

The :enable_logs and :enable_metrics options have been removed. Structured logs are now enabled by setting :level inside the :logs option (for example, logs: [level: :info]). The :level key defaults to nil, so if you only delete enable_logs: true and keep a :logs block without :level, the SDK still reports crashes but stops sending structured logs. Metrics are always on and are sent unconditionally. To stop metrics from being sent, drop them in a :before_send_metric callback. See the 13.x to 14.x upgrade guide for details.

Breaking Changes 🛠

Config

Data Collection

  • (scrubber) Replace redacted values with [Filtered] by @solnic in #1227

New Features ✨

  • (scrubbing) Adopt denylist defined by Data Collection spec by @solnic in #1198
  • (telemetry_processor) Enable all categories by default by @solnic in #1208
  • (tracing) Add option to exclude certain http statuses from tracing by @solnic in #1217

Bug Fixes 🐛

Callbacks

Data Collection

Telemetry Processor

  • Flush buffered telemetry on shutdown by @solnic in #1204
  • Wake scheduler for pending buffer deadlines by @solnic in #1203

Sentry SDK Specification Alignments

  • (metrics) Attach sentry.timestamp.sequence by @solnic in #1215
  • (tracing) Discard ignored-status transactions as event_processor by @solnic in #1226

Test API

  • (client-reports) Disable the periodic flush in test mode by @solnic in #1193

Don't miss a new sentry-elixir release

NewReleases is sending notifications on new releases.