InfluxDB tag for long tasks (#2677)

This commit is contained in:
Peter Hedenskog 2019-10-02 22:03:34 +02:00 committed by GitHub
parent d870a63192
commit 7f021d37c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -110,11 +110,12 @@ class InfluxDBDataGenerator {
if (keyArray.length >= 5) {
tags[keyArray[2]] = keyArray[3];
}
if (key.indexOf('cpu.categories') > -1) {
tags.cpu = 'category';
} else if (key.indexOf('cpu.events') > -1) {
tags.cpu = 'event';
} else if (key.indexOf('cpu.longTasks') > -1) {
tags.cpu = 'longTask';
}
} else if (type === 'browsertime.summary') {
// firstPaint.median