Skip to content

Commit

Permalink
Merge pull request #4825 from DFE-Digital/xxxx-disable-sentry-cron
Browse files Browse the repository at this point in the history
[xxxxx] Removed Sentry automatic capture for check-ins
  • Loading branch information
defong authored Nov 20, 2024
2 parents b6735ff + a198e27 commit 4cf1cae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
filter.filter(event.to_hash)
end

config.enabled_patches += [:sidekiq_cron]
# NOTE: turn off Sentry Cron monitoring it seems to automatically create new monitor without notice
# https://dfe-teacher-services.sentry.io/crons/
# config.enabled_patches += [:sidekiq_cron]

config.traces_sample_rate = 0.05
config.profiles_sample_rate = 0.05
config.release = ENV.fetch("COMMIT_SHA", nil)
Expand Down

0 comments on commit 4cf1cae

Please sign in to comment.