debug messages when generating summaries
This commit is contained in:
parent
3017db4539
commit
72826cfb6e
|
|
@ -327,6 +327,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
case 'sitespeedio.summarize': {
|
||||
log.debug('Generate summary metrics from Browsertime');
|
||||
const summary = aggregator.summarize();
|
||||
if (summary) {
|
||||
for (let group of Object.keys(summary.groups)) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
'use strict';
|
||||
const aggregator = require('./aggregator');
|
||||
const log = require('intel').getLogger('plugin.coach');
|
||||
|
||||
const DEFAULT_METRICS_SUMMARY = [
|
||||
'score.*',
|
||||
|
|
@ -57,6 +58,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
case 'sitespeedio.summarize': {
|
||||
log.debug('Generate summary metrics from the Coach');
|
||||
let summary = aggregator.summarize();
|
||||
if (summary) {
|
||||
for (let group of Object.keys(summary.groups)) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
const pagexrayAggregator = require('./pagexrayAggregator');
|
||||
const pagexray = require('pagexray');
|
||||
const log = require('intel').getLogger('plugin.pagexray');
|
||||
|
||||
const DEFAULT_PAGEXRAY_PAGESUMMARY_METRICS = [
|
||||
'contentTypes',
|
||||
|
|
@ -88,6 +89,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
case 'sitespeedio.summarize': {
|
||||
log.debug('Generate summary metrics from PageXray');
|
||||
let pagexraySummary = pagexrayAggregator.summarize();
|
||||
if (pagexraySummary) {
|
||||
for (let group of Object.keys(pagexraySummary.groups)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue