Skip to content

Commit 45abc78

Browse files
committed
remove sentry sampling
1 parent 4a72d96 commit 45abc78

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

config/initializers/sentry.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@
55
config.capture_exception_frame_locals = true
66
config.release = Rails.configuration.revision
77
config.send_default_pii = true
8-
config.traces_sampler = ->(sampling_context) {
9-
# If this is the continuation of a trace,
10-
# just use that decision (rate controlled by the caller).
11-
if parent_sampled = sampling_context[:parent_sampled]
12-
next parent_sampled
13-
end
14-
15-
ENV.fetch("SENTRY_TRACES_SAMPLE_RATE").to_f
16-
}
178
end

0 commit comments

Comments
 (0)