jenkins-bot has submitted this change and it was merged.

Change subject: Update metric names for Zuul / Gerrit graphite graphs
......................................................................


Update metric names for Zuul / Gerrit graphite graphs

* The metric name hierarchy changed, with individual apps now
  sitting at the top level (stats_counts.gerrit -> gerrit).

* The input of the data now wraps most data points in an extra
  level (gerrit.patchset-created -> gerrit.patchset-created.count).

Change-Id: I5f7f13de4903c50bef72bfe0c02f8e040846392b
---
M org/wikimedia/integration/zuul/default.html
1 file changed, 10 insertions(+), 10 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/org/wikimedia/integration/zuul/default.html 
b/org/wikimedia/integration/zuul/default.html
index e703831..c7f275e 100644
--- a/org/wikimedia/integration/zuul/default.html
+++ b/org/wikimedia/integration/zuul/default.html
@@ -11,9 +11,9 @@
 &width=400
 &bgcolor=ffffff
 &fgcolor=000000
-&target=alias(summarize(stats_counts.gerrit.event.comment-added,%20'1h'),%20'Comment%20added')
-&target=alias(summarize(stats_counts.gerrit.event.patchset-created,%20'1h'),%20'Patchset%20created')
-&target=alias(summarize(stats_counts.gerrit.event.change-merged,%20'1h'),%20'Change%20merged')
+&target=alias(summarize(gerrit.event.comment-added.count,'1h'),'Comment%20added')
+&target=alias(summarize(gerrit.event.patchset-created.count,'1h'),'Patchset%20created')
+&target=alias(summarize(gerrit.event.change-merged.count,'1h'),'Change%20merged')
 &title=Gerrit%20Events%20(per%20Hour)" title="Gerrit events (per Hour)" />
        <img title="Zuul processing" 
src="//graphite.wikimedia.org/render/?from=-24hours
 &amp;height=180
@@ -23,7 +23,7 @@
 &amp;fgcolor=000000
 &amp;areaMode=first
 &amp;lineMode=staircase
-&amp;target=alias(summarize(sumSeries(stats.gauges.zuul.pipeline.*.current_changes),'1h'),'Changes')
+&amp;target=alias(summarize(sumSeries(zuul.pipeline.*.current_changes.value),'1h'),'Changes')
 &amp;title=Zuul%20processing%20(per%20hour)" title="Zuul (per hour)" />
 <br/>
        <img title="Zuul test pipeline" 
src="//graphite.wikimedia.org/render/?from=-24hours
@@ -34,9 +34,9 @@
 &amp;fgcolor=000000
 &amp;areaMode=first
 &amp;colorList=orange,blue,red
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.test.current_changes,'15min','min'),'15min
 minimum')
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.test.current_changes,'1min'),'1min
 avg')
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.test.current_changes,'1h','max'),'hourly
 max')
+&amp;target=alias(summarize(zuul.pipeline.test.current_changes.value,'15min','min'),'15min
 minimum')
+&amp;target=alias(summarize(zuul.pipeline.test.current_changes.value,'1min'),'1min
 avg')
+&amp;target=alias(summarize(zuul.pipeline.test.current_changes.value,'1h','max'),'hourly
 max')
 &amp;title=Zuul%20test%20pipeline" />
        <img title="Zuul gate pipeline" 
src="//graphite.wikimedia.org/render/?from=-24hours
 &amp;height=180
@@ -46,9 +46,9 @@
 &amp;fgcolor=000000
 &amp;areaMode=first
 &amp;colorList=orange,blue,red
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.gate-and-submit.current_changes,'15min','min'),'15min
 minimum')
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.gate-and-submit.current_changes,'1min'),'1min
 avg')
-&amp;target=alias(summarize(stats.gauges.zuul.pipeline.gate-and-submit.current_changes,'1h','max'),'hourly
 max')
+&amp;target=alias(summarize(zuul.pipeline.gate-and-submit.current_changes.value,'15min','min'),'15min
 minimum')
+&amp;target=alias(summarize(zuul.pipeline.gate-and-submit.current_changes.value,'1min'),'1min
 avg')
+&amp;target=alias(summarize(zuul.pipeline.gate-and-submit.current_changes.value,'1h','max'),'hourly
 max')
 &amp;title=Zuul%20gate%20pipeline" />
 <!--
 -->

-- 
To view, visit https://gerrit.wikimedia.org/r/109702
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f7f13de4903c50bef72bfe0c02f8e040846392b
Gerrit-PatchSet: 2
Gerrit-Project: integration/docroot
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>
Gerrit-Reviewer: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to