Extend collected metrics in redis plugin
authorMarc Falzon <marc@falzon.me>
Tue, 22 Dec 2015 22:07:25 +0000 (23:07 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 28 Feb 2016 00:06:05 +0000 (01:06 +0100)
commita6ba92ef280e69e5498ee88723ed009dd2a0444d
tree30e7025d966ff530f0f5d1a0693bbb05bcecf21f
parent24eddd92ceeed442840e52c1c4163e0c7ca01456
Extend collected metrics in redis plugin

This change adds support for other interesting Redis metrics:

* expired_keys
* keyspace_hits, keyspace_misses
* total_net_input_bytes, total_net_output_bytes

It also fixes the DS type for expired_keys, which was incorrectly
expressed as gauge instead of derive.
src/redis.c
src/types.db