Use smartSummarize on zuul status graphs
This should address the problem of the final segment of the 'per- hour' graphs always trending downward. Change-Id: I62585283a669e1d856a77c01eb9daec2918f6b03
This commit is contained in:
parent
6af6dd0de6
commit
c133e41fb2
@ -325,7 +325,7 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
|
|||||||
bgcolor: 'ffffff',
|
bgcolor: 'ffffff',
|
||||||
fgcolor: '000000',
|
fgcolor: '000000',
|
||||||
target: [
|
target: [
|
||||||
"alias(summarize(sumSeries(stats_counts.zuul.pipeline.*.all_jobs),'1h'),'All Jobs')",
|
"alias(smartSummarize(sumSeries(stats_counts.zuul.pipeline.*.all_jobs),'1h'),'All Jobs')",
|
||||||
],
|
],
|
||||||
title: "Zuul Jobs Launched (per Hour)"
|
title: "Zuul Jobs Launched (per Hour)"
|
||||||
}));
|
}));
|
||||||
@ -337,9 +337,9 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
|
|||||||
bgcolor: 'ffffff',
|
bgcolor: 'ffffff',
|
||||||
fgcolor: '000000',
|
fgcolor: '000000',
|
||||||
target: [
|
target: [
|
||||||
"alias(summarize(stats_counts.gerrit.event.comment-added, '1h'), 'Comment added')",
|
"alias(smartSummarize(stats_counts.gerrit.event.comment-added, '1h'), 'Comment added')",
|
||||||
"alias(summarize(stats_counts.gerrit.event.patchset-created, '1h'), 'Patchset created')",
|
"alias(smartSummarize(stats_counts.gerrit.event.patchset-created, '1h'), 'Patchset created')",
|
||||||
"alias(summarize(stats_counts.gerrit.event.change-merged, '1h'), 'Change merged')",
|
"alias(smartSummarize(stats_counts.gerrit.event.change-merged, '1h'), 'Change merged')",
|
||||||
],
|
],
|
||||||
title: "Gerrit Events (per Hour)"
|
title: "Gerrit Events (per Hour)"
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user