You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to implement a system where I get logs of each request made to the API.
There are certain things that I want to be included in all these logs.
Let me explain the use case.
I want to put a monitoring system around the API. This system will visualize the data, and let us present it in a better manner.
Points each log MUST contain:
A unique RequestID (a uuid string). In the case of multiple users and various logs, it will help us find all the logs related to one request.
UserAgent
ClientIP Address
Latency(Not necessary)
Line and Function this log was generated
Time
Status/Error Message
This log will start with each request. Should move along in each function and dies once the request is completed.
I am sure there are packages in npm that could easily do it.
If anyone wants to solve this problem, comment here.
Else I will take on it one day.
The text was updated successfully, but these errors were encountered:
Need to implement a system where I get logs of each request made to the API.
There are certain things that I want to be included in all these logs.
Let me explain the use case.
I want to put a monitoring system around the API. This system will visualize the data, and let us present it in a better manner.
Points each log MUST contain:
This log will start with each request. Should move along in each function and dies once the request is completed.
I am sure there are packages in npm that could easily do it.
If anyone wants to solve this problem, comment here.
Else I will take on it one day.
The text was updated successfully, but these errors were encountered: