From d65b20ab146f62094096c82622989f22a596bb29 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Sun, 6 Nov 2016 20:20:54 +0000 Subject: Force commit git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1768388 13f79535-47bb-0310-9956-ffa450edef68 --- redis/apr_redis.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'redis') 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); -- cgit v1.2.1