glql_referer and query_sha are not logged when GLQL request fails
We have introduced two extra log fields for GLQL queries:
json.graphql.glql_query_shajson.graphql.glql_referer
They both help identify the same failing GLQL queries (having the same glql_query_sha) and glql_referer shows the source of the failing query so that we can look up an issue/MR/etc where GLQL is embedded.
Here you can see in the success logs how these two fields are populated https://log.gprd.gitlab.net/app/r/s/djc8O
However, when we have an error, these fields are not logged https://log.gprd.gitlab.net/app/r/s/duoqF
There were two attempts to fix that:
Edited by 🤖 GitLab Bot 🤖