diff options
author | dormando <dormando@rydia.net> | 2022-12-01 16:00:42 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-12-01 16:00:42 -0800 |
commit | 5468b726004aa9651ad77ec3db2dbb9859137b53 (patch) | |
tree | 6abccfa43dea5e5cde8ffffbe79d52151794bd7e /memcached.h | |
parent | 20cf8989cad866c9ffa0afbf8b06f843e33cc850 (diff) | |
download | memcached-5468b726004aa9651ad77ec3db2dbb9859137b53.tar.gz |
proxy: add proxy_await_active stat
proxy_req_active shows the number of active proxy requests, but if those
proxy requests make sub-requests via mcp.await() they are not accounted
for. This gives the number of await's active, but not the total number
of in-flight async requests.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/memcached.h b/memcached.h index af47463..860fae4 100644 --- a/memcached.h +++ b/memcached.h @@ -347,7 +347,8 @@ struct slab_stats { X(proxy_conn_requests) \ X(proxy_conn_errors) \ X(proxy_conn_oom) \ - X(proxy_req_active) + X(proxy_req_active) \ + X(proxy_await_active) #endif /** |