diff options
author | Kevin Lin <developer@kevinlin.info> | 2021-08-17 23:48:37 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-09-27 12:58:03 -0700 |
commit | 4b23988acb2151de8009d0ddc5e9d770f7bf3169 (patch) | |
tree | c003c4a7bfc5cd9f23d90f6442ebd5ae70167351 /logger.h | |
parent | 32349beb8e34a47201546de08dec003d39f29649 (diff) | |
download | memcached-4b23988acb2151de8009d0ddc5e9d770f7bf3169.tar.gz |
Expose number of currently active watchers in stats1.6.11
The stat key `log_watchers` indicates the number of active connected
`watch` clients.
Diffstat (limited to 'logger.h')
-rw-r--r-- | logger.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -170,6 +170,7 @@ struct logger_stats { uint64_t worker_written; uint64_t watcher_skipped; uint64_t watcher_sent; + uint64_t watcher_count; }; extern pthread_key_t logger_key; |