Browse Source

Merge "Add a graphite key for all jobs in a pipeline"

changes/77/43977/1
Jenkins 9 years ago committed by Gerrit Code Review
parent
commit
6de6ed0a3a
  1. 2
      zuul/scheduler.py

2
zuul/scheduler.py

@ -338,6 +338,8 @@ class Scheduler(threading.Thread):
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))

Loading…
Cancel
Save