X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_graphite.h;h=60b89ae7e49331bbe3c99014cabe884023d70117;hb=7c9d772c992647fcba64a96800c146eb9f1647f8;hp=398defbeabab0b31c8de7916df1ba2b9e86eca8c;hpb=21b429b6b5ecd2f9820d9a2516c12577a0e59d19;p=collectd.git diff --git a/src/utils_format_graphite.h b/src/utils_format_graphite.h index 398defbe..60b89ae7 100644 --- a/src/utils_format_graphite.h +++ b/src/utils_format_graphite.h @@ -23,16 +23,19 @@ #define UTILS_FORMAT_GRAPHITE_H 1 #include "collectd.h" + #include "plugin.h" -#define GRAPHITE_STORE_RATES 0x01 +#define GRAPHITE_STORE_RATES 0x01 #define GRAPHITE_SEPARATE_INSTANCES 0x02 -#define GRAPHITE_ALWAYS_APPEND_DS 0x04 +#define GRAPHITE_ALWAYS_APPEND_DS 0x04 +#define GRAPHITE_DROP_DUPE_FIELDS 0x08 +#define GRAPHITE_PRESERVE_SEPARATOR 0x10 +#define GRAPHITE_USE_TAGS 0x20 -int format_graphite (char *buffer, - size_t buffer_size, const data_set_t *ds, - const value_list_t *vl, const char *prefix, - const char *postfix, const char escape_char, - unsigned int flags); +int format_graphite(char *buffer, size_t buffer_size, const data_set_t *ds, + const value_list_t *vl, const char *prefix, + const char *postfix, const char escape_char, + unsigned int flags); #endif /* UTILS_FORMAT_GRAPHITE_H */