Skip to content

Commit

Permalink
Drop 3 buckets from the LONG_RUNNING_REQUESTS_BUKCETS list.
Browse files Browse the repository at this point in the history
Because we timeout requests at 100s, we dont need buckets 120,300 and 600
  • Loading branch information
nicolasvan committed Dec 11, 2024
1 parent 0f3e537 commit 0d2770a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yabeda/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Yabeda
module Rails
LONG_RUNNING_REQUEST_BUCKETS = [
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, # standard
30, 60, 120, 300, 600, # Sometimes requests may be really long-running
30, 60, # We timeout requests at 100s. Requests taking more than 60s will end up in the Infinity bucket
].freeze

class << self
Expand Down

0 comments on commit 0d2770a

Please sign in to comment.