diff options
author | Jim Jagielski <jim@apache.org> | 2016-11-06 20:20:54 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2016-11-06 20:20:54 +0000 |
commit | d65b20ab146f62094096c82622989f22a596bb29 (patch) | |
tree | 020093cf522d51d55ec128a74035d020981adf34 /redis | |
parent | 62aa0f568ff88efbef644fb2e315574301bc210d (diff) | |
download | apr-d65b20ab146f62094096c82622989f22a596bb29.tar.gz |
Force commit
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1768388 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'redis')
-rw-r--r-- | redis/apr_redis.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/redis/apr_redis.c b/redis/apr_redis.c index 905281a27..0b2c5ecbf 100644 --- a/redis/apr_redis.c +++ b/redis/apr_redis.c @@ -1416,6 +1416,9 @@ apr_redis_multgetp(apr_redis_t *rc, #define STAT_total_commands_processed "total_commands_processed:" #define STAT_total_commands_processed_LEN (sizeof(STAT_total_commands_processed)-1) +#define STAT_rejected_connections "rejected_connections:" +#define STAT_rejected_connections_LEN (sizeof(STAT_rejected_connections)-1) + #define STAT_total_net_input_bytes "total_net_input_bytes:" #define STAT_total_net_input_bytes_LEN (sizeof(STAT_total_net_input_bytes)-1) @@ -1470,10 +1473,11 @@ static void update_stats(char *info, apr_redis_stats_t *stats) rc_do_stat(total_system_memory, uint64); rc_do_stat(total_connections_received, uint64); rc_do_stat(total_commands_processed, uint64); + rc_do_stat(rejected_connections, uint64); rc_do_stat(total_net_input_bytes, uint64); rc_do_stat(total_net_output_bytes, uint64); - rc_do_stat(keyspace_hits, uint32); - rc_do_stat(keyspace_misses, uint32); + rc_do_stat(keyspace_hits, uint64); + rc_do_stat(keyspace_misses, uint64); rc_do_stat(connected_slaves, uint32); rc_do_stat(used_cpu_sys, uint32); rc_do_stat(used_cpu_user, uint32); |