Where does nginx.stubstatus.current get its data from?

Looking at:

it says nothing about any metric in the stubstatus called "current", as listed here as "nginx.stubstatus.current":

One could be tempted to think it came from "Active connections", but that does in fact already go into another field called nginx.stubstatus.active.

So how does nginx.stubstatus.current get populated and from which data?

Is it a derived metric?

current is a derived metric, it is the number of requests handled since the last metric fetch.

So the difference between the current nginx.stubstatus.requests and the previous.

Great - thanks!

Did I miss that in the docs somewhere?

I've searched high and low, and my last idea was actually to take a look at the source, but I thought it would be of greater public interest that I put the question in here, as the docs seems to be missing some details.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.