Improve latency of /api/:version/repos/:namespace/:project/pulls

The latency >1s count of /api/:version/repos/:namespace/:project/pulls is currently the second highest in that table, and is likely to be contributing to the ~"group::ecosystem" error budget cost.

We should try to improve the latency of this endpoint.

The endpoint has been given a temporary custom Apdex SLO of urgency: :low (5 seconds, rather than the normal 1s threshold) in !78142 (merged) until we have optimised this endpoint. Part of this issue is to remove the custom Apdex SLO for the endpoint when we have verified that performance has been improved.

Testing & Availability

Suggestion: Add a new scenario in the GitLab Performance Tool to cover this endpoint.

Edited Mar 14, 2022 by Alex Kalderimis
Assignee Loading
Time tracking Loading