debug messages when generating summaries

This commit is contained in:
soulgalore 2018-02-08 14:31:10 +01:00
parent 3017db4539
commit 72826cfb6e
3 changed files with 5 additions and 0 deletions

View File

@ -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)) {

View File

@ -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)) {

View File

@ -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)) {