Monitor Gitlab::AppJsonLogger.error messages related to composition analysis features
What does this MR do and why?
Monitor Gitlab::AppJsonLogger.error messages related to composition analysis features
Steps to test
- Tail the rails logger.
- In rails console run any of the tracking command.
- The log looks like the following:
{"severity":"ERROR","time":"2023-10-26T06:36:57.495Z","exception.class":"RuntimeError","exception.message":"invalid affected_package","user.username":null,"tags.program":"console","tags.locale":"en","tags.feature_category":null,"tags.correlation_id":null,"extra.errors":{"a":"Ad"}}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #418172 (closed)
Edited by Aditya Tiwari