Create some type of application monitoring with basic information about the requests that the users do. The log response should be in JSON format to be able to integrate it into a monitoring platform in the future.
You can start by creating a middleware that captures the necessary data and use, for example, logrus to log in a local file with a pretty format.
Difficulties:
read the query/mutation name from the user request
Create some type of application monitoring with basic information about the requests that the users do. The log response should be in JSON format to be able to integrate it into a monitoring platform in the future.
You can start by creating a middleware that captures the necessary data and use, for example, logrus to log in a local file with a pretty format.
Difficulties:
Error example:
Info example: