Skip to content

Commit b0d91f7

Browse files
committed
ignore Rails::HealthController#show
1 parent 9518744 commit b0d91f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/skylight/config.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class Config
1919
# @api private
2020
MUTEX = Mutex.new
2121

22+
DEFAULT_IGNORED_ENDPOINTS = %w[
23+
Rails::HealthController#show
24+
].freeze
25+
2226
# Map environment variable keys with Skylight configuration keys
2327
ENV_TO_KEY = {
2428
# == Authentication ==
@@ -490,7 +494,7 @@ def ignored_endpoints
490494

491495
val = Array(get(:ignored_endpoint))
492496
val.concat(Array(ignored_endpoints))
493-
val
497+
val | DEFAULT_IGNORED_ENDPOINTS
494498
end
495499
end
496500

0 commit comments

Comments
 (0)