projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amqp, write_graphite and write_kafka plugins: Implement the "[Graphite]PreserveSepara...
[collectd.git]
/
src
/
write_graphite.c
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
ad8dfce
..
9feb6b3
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-566,6
+566,9
@@
static int wg_config_node (oconfig_item_t *ci)
else if (strcasecmp ("AlwaysAppendDS", child->key) == 0)
cf_util_get_flag (child, &cb->format_flags,
GRAPHITE_ALWAYS_APPEND_DS);
else if (strcasecmp ("AlwaysAppendDS", child->key) == 0)
cf_util_get_flag (child, &cb->format_flags,
GRAPHITE_ALWAYS_APPEND_DS);
+ else if (strcasecmp ("PreserveSeparator", child->key) == 0)
+ cf_util_get_flag (child, &cb->format_flags,
+ GRAPHITE_PRESERVE_SEPARATOR);
else if (strcasecmp ("DropDuplicateFields", child->key) == 0)
cf_util_get_flag (child, &cb->format_flags,
GRAPHITE_DROP_DUPE_FIELDS);
else if (strcasecmp ("DropDuplicateFields", child->key) == 0)
cf_util_get_flag (child, &cb->format_flags,
GRAPHITE_DROP_DUPE_FIELDS);