diff --git a/lib/plugins/influxdb/send-annotation.js b/lib/plugins/influxdb/send-annotation.js index a7191201a..df15b0a09 100644 --- a/lib/plugins/influxdb/send-annotation.js +++ b/lib/plugins/influxdb/send-annotation.js @@ -40,7 +40,7 @@ module.exports = { if (options.influxdb.tags) { for (var row of options.influxdb.tags.split(',')) { const keyAndValue = row.split('='); - tags += `,${keyAndValue[1]}`; + tags.push(keyAndValue[1]); } } const influxDBTags = annotationsHelper.getTagsAsString(tags);