Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/88063


Change subject: Add a graphite key for all jobs in a pipeline
......................................................................

Add a graphite key for all jobs in a pipeline

Add a key for convenience that rolls up all of the job completions in a
pipeline, so that such a graph can be built with only about 10 keys.

Comes from OpenStack I93ef1dca350cd66d880e8cb7f4478c47dbc5960e

Change-Id: Ibda87cf9b54efb18ace5860813421ccf66e09bec
---
M zuul/scheduler.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/zuul 
refs/changes/63/88063/1

diff --git a/zuul/scheduler.py b/zuul/scheduler.py
index af9a061..48fedb8 100644
--- a/zuul/scheduler.py
+++ b/zuul/scheduler.py
@@ -313,6 +313,8 @@
                     dt = int((build.end_time - build.start_time) * 1000)
                     statsd.timing(key, dt)
                 statsd.incr(key)
+                key = 'zuul.pipeline.%s.all_jobs' % build.pipeline.name
+                statsd.incr(key)
         except:
             self.log.exception("Exception reporting runtime stats")
         self.result_event_queue.put(('completed', build))

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibda87cf9b54efb18ace5860813421ccf66e09bec
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to