@cryptotaxi247 / netdata-1 / commits / d0bf41519

Get rid of extra comma in OpenTSDB exporting (#13355)

Vladimir Kobal committed Jul 11, 2022 at 14:54 UTC d0bf415190a6ebbe99533c04b2178923457edfbd
1 file changed +1 -2
exporting/opentsdb/opentsdb.c
+1 -2
@@ -286,8 +286,7 @@ int format_host_labels_opentsdb_http(struct instance *instance, RRDHOST *host) {
286 if (unlikely(!sending_labels_configured(instance)))
287 return 0;
288
289 - buffer_strcat(instance->labels_buffer, ",");
290 - rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, "", ":", "\"", ",",
289 + rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, ",", ":", "\"", "",
290 exporting_labels_filter_callback, instance,
291 NULL, sanitize_opentsdb_label_value);
292 return 0;