rodrigo-silveira
rodrigo-silveira

Reputation: 13078

Express - how to calculate avg requests per minute

I'm looking for a simple way to know how many records are being created by my Node.js analytics service. I came across average-requests-per-minute Express middleware, but the author says:

Disclaimer: it's very simple, trivial, keeps things in memory, and does not verify all the parameters. It is not tested well (yet), so use at your own risk.

That makes me not event want to use that module in development...

What is a simple way to calculate average requests per minute in an Express app, managed by pm2, ran on EC2?

Upvotes: 1

Views: 681

Answers (1)

sedot
sedot

Reputation: 577

You can try pm2 custom metrics.

Upvotes: 1

Related Questions