diff --git a/Gemfile.lock b/Gemfile.lock index 266b2be1c..39382fb47 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/DFE-Digital/dfe-analytics.git - revision: b2ea063f7c3616b034118589efe48cea30134b4c + revision: 7143f86846b45d8b74efad54d6924cf2614596a2 specs: dfe-analytics (1.13.0) google-cloud-bigquery (~> 1.38) diff --git a/config/initializers/dfe_analytics.rb b/config/initializers/dfe_analytics.rb index 02e6201c8..0e0a31b54 100644 --- a/config/initializers/dfe_analytics.rb +++ b/config/initializers/dfe_analytics.rb @@ -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?