X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_riemann.c;h=58611a96fe2ec40adff997503eea1ae8dcf2284b;hb=2cf10557f58144e13793a3d69ae5d4b7c8d6c305;hp=328341ea0e0fe9234feb8f6c5124379725f5bff9;hpb=0657d95eaa686d64efe6bbccda346ebd6467bd0b;p=collectd.git diff --git a/src/write_riemann.c b/src/write_riemann.c index 328341ea..58611a96 100644 --- a/src/write_riemann.c +++ b/src/write_riemann.c @@ -26,13 +26,6 @@ * Florian octo Forster */ -#include "collectd.h" -#include "plugin.h" -#include "common.h" -#include "configfile.h" -#include "utils_cache.h" -#include "riemann.pb-c.h" - #include #include #include @@ -40,13 +33,19 @@ #include #include +#include "collectd.h" +#include "plugin.h" +#include "common.h" +#include "configfile.h" +#include "utils_cache.h" +#include "riemann.pb-c.h" +#include "write_riemann_threshold.h" + #define RIEMANN_HOST "localhost" #define RIEMANN_PORT "5555" #define RIEMANN_TTL_FACTOR 2.0 #define RIEMANN_BATCH_MAX 8192 -int write_riemann_threshold_check(const data_set_t *, const value_list_t *, int *); - struct riemann_host { char *name; char *event_service_prefix;