I’m using stub_status module as a source collect metrics from my nginx
servers. I’m doing this:
(1) wget the stats page
(2) wait 1 second
(3) wget the stats page again
(4) Get the difference of the requests value from (3) and (1) to get
requests per second.
Am I doing right? I am also collecting Active Connections and want to
understand which of these values will give me a better idea on what’s
happening in my servers during high load/traffic hours.