getsentry/sentry-ruby

Guard job arguments behind `send_default_pii`

Open

#2,792 opened on Nov 25, 2025

 (3 comments) (0 reactions) (1 assignee)Ruby (537 forks)github user discovery
7.0Good First IssueImprovementRubySpansbreaking

Repository metrics

Stars
 (988 stars)
PR merge metrics
 (Avg merge 5d 6h) (21 merged PRs in 30d)

Description

Problem Statement

Sentry by default pushes job arguments: https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/active_job.rb#L109

The arguments can contain PIIs. We are currently filtering them out in before_send but it would be better to be able to have a configuration for it.

Solution Brainstorm

No response

Contributor guide