Log glql referer and query sha even if request fails
What does this MR do and why?
This MR tries to fix logging when GLQL request is failing. At the moment, we are missing glql_referer and glql_query_sha fields in the logs for failed GLQL requests.
References
Previous MR where I tried to fix it !194037 (merged)
GLQL GA Readiness Review #535198 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
I don't think there are a lot of ways to test it locally. I added a spec for the failing scenario and hope that this approach can solve the problem.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Alisa Frunza