Graphical nginx requests per second

Is there any way to get Graphite for req / s chart?

When you retrieve nginx requests from nginx_status, you send the absolute value to graphite, so I think if you can get the speed per second?

I understand that derivative(series) will provide you with requests / minute, but I can really use requests / s.

Greetings.

+4
source share
2 answers

I'm not sure if this is the right way to do this, but it seems like this is a trick

 scaleToSeconds(derivative(stats.*.*.*.nginx.handles),1) 

Anyone see any problems with this?

+6
source

Launch your nginx access logs through Logster, which will process the data and forward some interesting metrics - including requests per second, if you want - to Graphite.

https://github.com/etsy/logster

+2
source

All Articles