Skip to content

Commit

Permalink
Don't send healthcheck paths to analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleese committed Jul 11, 2024
1 parent 4dd8433 commit 8d58e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/dfe_analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
config.environment = HostingEnvironment.name
config.queue = :analytics

config.excluded_paths = [%r{^/healthcheck}]

config.enable_analytics =
proc do
disabled_by_default = Rails.env.development?
Expand Down

0 comments on commit 8d58e87

Please sign in to comment.