Open Laykou opened 2 years ago
Hello @Laykou Unfortunately, there is no config to skip endpoints, but from what I think it should be relatively easy to add. Can you try to do it by youself? I can help with advice if needed.
Would ignored_endpoints = ['HealthController#status']
work? This is documented in the readme.
For now we put on-hold usage of this gem, so I cannot confirm on this anymore.
@ekampp actually as I see it's not documented in the readme https://github.com/search?q=repo%3Aigorkasyanchuk%2Frails_performance%20ignored_endpoints&type=code
who wants to double-check this feature and make a PR? :)
My bad, you're right; it's not in the Readme. It shows up in the configuration file when running the generator.
We have
/health_check
requests which are being used by Docker Swarm to check if the container is healthy. We would like to ignore these requests in performance matrix. Is it possible to ignore certain requests based on URL or controller/action?Thank you!