The Express middleware for microservice tracing
APISense is a Express middleware, that help you to track all the requests and the data that is being sent all over your microservices.
It allow you to see all the system logs, the new requests sent and the responses generated by a incoming request in your service.
1. How to implement APISense?
First, install the package via NPM:
npm install apisense --save
And finally, just add the middleware in all the services you want to trace:
2. How to use APISense?APISense deploy a new interface in every service deployed. You can access the APISense interface from the service URL + "/apisense".
The interface shows all the request received in the server (the recent ones first).
You can click in any request to get all the details about that request, this includes the logs generated by that requests, the new requests and also the response sent.
You can also click in the information like the response to get the headers and body data.