Track your API metrics within ReadMe.
npm install readmeio
Just add the middleware to express, and that's it!
const readme = ;app;
View full documentation here: https://docs.readme.com/docs/sending-logs-to-readme-with-nodejs
- Currently only supports JSON request bodies. Adding a whitelist/blacklist for non-JSON bodies will not work (unless they're added to
req.body) the same way that
body-parserdoes it. The properties will be passed into
- Needs more support for getting URLs when behind a reverse proxy:
- Needs more support for getting client IP address when behind a reverse proxy.
- Logs are "fire and forget" to the metrics server, so any failed requests (even for incorrect API key!) will currently fail silently.