X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_format_graphite.h;h=60b89ae7e49331bbe3c99014cabe884023d70117;hb=7c9d772c992647fcba64a96800c146eb9f1647f8;hp=60576dacb913d363947e40f1111d7cd701c33e13;hpb=b847e8ff2fd928813397466a941947c8fce66d66;p=collectd.git diff --git a/src/utils_format_graphite.h b/src/utils_format_graphite.h index 60576dac..60b89ae7 100644 --- a/src/utils_format_graphite.h +++ b/src/utils_format_graphite.h @@ -26,14 +26,16 @@ #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 */