Update send-annotation.js to take all kind of tags independent of category (#2031)
This commit is contained in:
parent
86466d87e2
commit
9db2f3a6f9
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
if (options.influxdb.tags) {
|
||||
for (var row of options.influxdb.tags.split(',')) {
|
||||
const keyAndValue = row.split('=');
|
||||
if (keyAndValue[0] === 'category') tags += `,${keyAndValue[1]}`;
|
||||
tags += `,${keyAndValue[1]}`;
|
||||
}
|
||||
}
|
||||
const postData = `events title="Sitespeed.io",text="${message}",tags="${tags}" ${timestamp}`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue