projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'github/pr/1952'
[collectd.git]
/
src
/
utils_format_graphite.h
diff --git
a/src/utils_format_graphite.h
b/src/utils_format_graphite.h
index
a3c4d85
..
5165f9e
100644
(file)
--- a/
src/utils_format_graphite.h
+++ b/
src/utils_format_graphite.h
@@
-23,11
+23,18
@@
#define UTILS_FORMAT_GRAPHITE_H 1
#include "collectd.h"
#define UTILS_FORMAT_GRAPHITE_H 1
#include "collectd.h"
+
#include "plugin.h"
#include "plugin.h"
+#define GRAPHITE_STORE_RATES 0x01
+#define GRAPHITE_SEPARATE_INSTANCES 0x02
+#define GRAPHITE_ALWAYS_APPEND_DS 0x04
+#define GRAPHITE_DROP_DUPE_FIELDS 0x08
+
int format_graphite (char *buffer,
size_t buffer_size, const data_set_t *ds,
const value_list_t *vl, const char *prefix,
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);
+ const char *postfix, const char escape_char,
+ unsigned int flags);
#endif /* UTILS_FORMAT_GRAPHITE_H */
#endif /* UTILS_FORMAT_GRAPHITE_H */