Fix workhorse apdex to be compatible with latest workhorse release

Add new spelling of a route to exclude from apdex

The latest release of Workhorse introduces spelling changes to the Prometheus label indicating the rails route used by the request counters.

  • Old spelling: ^/api/v4/jobs/request\\z
  • New spelling: \\A/api/v4/jobs/request\\z

Here we update the recording rules that compose our apdex metrics to exclude both spellings. This fixes a spurious apdex drop, which we observed in canary shortly after deploying the Workhorse release.

Incident issue: gitlab-com/gl-infra/production#3384 (closed)

Edited by Matt Smiley

Merge request reports

Loading