Code

write_redis: fix format of commands sent to redis
authorMarc Fournier <marc.fournier@camptocamp.com>
Mon, 10 Nov 2014 06:58:13 +0000 (07:58 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 10 Nov 2014 07:00:02 +0000 (08:00 +0100)
commit7a02bef3ed2adcdd6c7f8cf07eaad2aaa84bee2c
treecc1df055526ab172415cc439ed2fed04032443d2
parent4a8f5813d302723ed378a54c33ae8a71e2c835a0
write_redis: fix format of commands sent to redis

The commands getting submitted to redis now look like this:
"ZADD" "collectd/hostname/entropy/entropy" "1415602051.335973024" "1415602051.335973024:823"
"SADD" "collectd/values" "hostname/entropy/entropy"

... which is the same as in the initial implementation, except for the
added decimals in the timestamp (the plugin was developped before
high-precision timestamps support was added to collectd).
src/write_redis.c