src/utils_match.[ch]: Implement match_value_reset().
authorFlorian Forster <octo@collectd.org>
Wed, 3 Sep 2014 07:10:00 +0000 (09:10 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 3 Sep 2014 07:10:00 +0000 (09:10 +0200)
commit0f877a368c1c339386add57c573094855457eefe
treed672842270cf105dab62da74270c1594ae944b5c
parent981a488d5cfbdc80a40d82d160f27e69c66a62d0
src/utils_match.[ch]: Implement match_value_reset().

This is called from the curl and memcachec plugins. Previously, gauge
average, minimum and maximum values were calculated since the start of
the daemon, rather than per-interval. This is not the documented
functionality.

Fixes: #663
src/curl.c
src/memcachec.c
src/utils_match.c
src/utils_match.h