Change "plugin_dispatch_multivalue" to accept any metric type.
authorAlex Petrov <oleksandr.petrov@gmail.com>
Wed, 17 Dec 2014 11:43:24 +0000 (12:43 +0100)
committerAlex Petrov <oleksandr.petrov@gmail.com>
Wed, 17 Dec 2014 11:43:24 +0000 (12:43 +0100)
commitc40bed78ba376235ff9936a855020d31398dfd48
treeda3de2fa87ab1a89b0d89a5be774ae184bb92701
parent359b83ce244738d87827712e85a9b5ed7ef6adbf
Change "plugin_dispatch_multivalue" to accept any metric type.

Currently, "plugin_dispatch_multivalue" works only with
"gauge_t" metric type. This commit changes it to accept a
"store_type" (one of "DS_TYPE_{GAUGE|COUTNTER|ABSOLUTE|DERIVE}").
src/daemon/plugin.c
src/daemon/plugin.h
src/memory.c
src/swap.c