gems sentry-ruby 6.4.0

6 hours ago

Features

  • Add support for OTLP ingestion in sentry-opentelemetry (#2853)

    Sentry now has first class OTLP ingestion capabilities.

    Sentry.init do |config|
      ## ...
      config.otlp.enabled = true
    end

    Under the hood, this will setup:

    • An OpenTelemetry::Exporter that will automatically set up the OTLP ingestion endpoint from your DSN
      • You can turn this off with config.otlp.setup_otlp_traces_exporter = false to setup your own exporter
    • An OTLPPropagator that ensures Distributed Tracing works
      • You can turn this off with config.otlp.setup_propagator = false
    • Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics

    If you were using the SpanProcessor before, we recommend migrating over to config.otlp since it's a much simpler setup.

  • Treat Sidekiq nil retry as true (#2864)

  • Queue time capture for Rack (#2838)

Bug Fixes

  • Fix MetricEvent timestamp serialization to float (#2862)
  • Fix CGI imports for ruby 4.x (#2863)
  • Always include scope user data in telemetry (#2866)

Don't miss a new sentry-ruby release

NewReleases is sending notifications on new releases.