Remove the health endpoints from the rack request metrics
In Gitlab::Metrics::RequestsRackMiddleware
we track request durations and counts for all rack requests.
We should exclude the health endpoints from these metrics. As in lower traffic environments (cny
), they would affect our apdex.
This is an alert we see fairly often during canary deploys:
The cny
api
service seems to generate a lot of errors during the deployment process.
This is most likely due to lack of traffic, but we should investigate and try resolve the alert, by either:
- Sending more traffic to
cny
api
, or - Finding the problem with deploys for this service
Edited by Bob Van Landuyt