diff options
Diffstat (limited to '')
-rw-r--r-- | src/exporting/graphite/graphite.c (renamed from exporting/graphite/graphite.c) | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/exporting/graphite/graphite.c b/src/exporting/graphite/graphite.c index 254db982e..9edde4503 100644 --- a/exporting/graphite/graphite.c +++ b/src/exporting/graphite/graphite.c @@ -133,13 +133,11 @@ int format_dimension_collected_graphite_plaintext(struct instance *instance, RRD buffer_sprintf( instance->buffer, - "%s.%s.%s.%s%s%s%s " COLLECTED_NUMBER_FORMAT " %llu\n", + "%s.%s.%s.%s%s " COLLECTED_NUMBER_FORMAT " %llu\n", instance->config.prefix, (host == localhost) ? instance->config.hostname : rrdhost_hostname(host), chart_name, dimension_name, - (host->tags) ? ";" : "", - (host->tags) ? rrdhost_tags(host) : "", (instance->labels_buffer) ? buffer_tostring(instance->labels_buffer) : "", rd->collector.last_collected_value, (unsigned long long)rd->collector.last_collected_time.tv_sec); @@ -179,13 +177,11 @@ int format_dimension_stored_graphite_plaintext(struct instance *instance, RRDDIM buffer_sprintf( instance->buffer, - "%s.%s.%s.%s%s%s%s " NETDATA_DOUBLE_FORMAT " %llu\n", + "%s.%s.%s.%s%s " NETDATA_DOUBLE_FORMAT " %llu\n", instance->config.prefix, (host == localhost) ? instance->config.hostname : rrdhost_hostname(host), chart_name, dimension_name, - (host->tags) ? ";" : "", - (host->tags) ? rrdhost_tags(host) : "", (instance->labels_buffer) ? buffer_tostring(instance->labels_buffer) : "", value, (unsigned long long)last_t); |