ankane/ahoy

Exclude Rails 7.1 health checks

xdmx opened this issue · 1 comments

xdmx commented

Rails 7.1 is going to add a health check endpoint: https://github.com/rails/rails/blob/main/railties/lib/rails/health_controller.rb / https://github.com/rails/rails/blob/main/railties/lib/rails/generators/rails/app/templates/config/routes.rb.tt

Should requests to this controller be excluded by default by Ahoy?

I know we could use the exclude_method, but maybe it's worth excluding them as I doubt anyone would want to track those requests on Ahoy

ankane commented

Makes sense to me. Thanks @xdmx!