Skip to content

Commit 1f7c757

Browse files
authored
perf: ignore more events by default (#720)
These cache events probably aren't that interesting, and they can generate a lot of events.
1 parent 936f3eb commit 1f7c757

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/honeybadger/config/defaults.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ class Boolean; end
3636
{event_type: "sql.active_record", query: /^(begin|commit)( immediate)?( transaction)?$/i},
3737
{event_type: "sql.active_record", query: /(solid_queue|good_job)/i},
3838
{event_type: "sql.active_record", name: /^GoodJob/},
39-
{event_type: "process_action.action_controller", controller: "Rails::HealthController"}
39+
{event_type: "process_action.action_controller", controller: "Rails::HealthController"},
40+
{event_type: "cache_exist?.active_support"},
41+
{event_type: "cache_write.active_support"},
42+
{event_type: "cache_generate.active_support"},
43+
{event_type: "cache_delete.active_support"},
44+
{event_type: "cache_increment.active_support"},
45+
{event_type: "cache_decrement.active_support"}
4046
].freeze
4147

4248
DEVELOPMENT_ENVIRONMENTS = ["development", "test", "cucumber"].map(&:freeze).freeze

0 commit comments

Comments
 (0)