From 5261a9fed5277341bc8ec6843998b5829c013ded Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Thu, 30 Aug 2012 20:16:34 +0200 Subject: [PATCH] report per-core requests in stats --- core/master_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/master_utils.c b/core/master_utils.c index 742646e7..073c28cf 100644 --- a/core/master_utils.c +++ b/core/master_utils.c @@ -933,6 +933,9 @@ void uwsgi_send_stats(int fd) { if (uwsgi_stats_keylong_comma(us, "id", (unsigned long long) j)) goto end0; + if (uwsgi_stats_keylong_comma(us, "requests", (unsigned long long) uc->requests)) + goto end0; + if (uwsgi_stats_keylong(us, "in_request", (unsigned long long) uc->in_request)) goto end0;