Adds missing statsd counter increment.
It seems that the counter for 'zuul.pipeline.<build name>.all_jobs' was
removed unintentionally, as part of features introduced on
b2332081d8
This changes reintroduce the counter increment on that key.
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
Change-Id: I52f5aab5fb42b60c9af29c6ce312c3d04b883a02
This commit is contained in:
parent
58d685073a
commit
f564b28ee3
|
@ -558,6 +558,7 @@ class Scheduler(threading.Thread):
|
|||
if statsd and build.pipeline:
|
||||
jobname = build.job.name.replace('.', '_')
|
||||
key = 'zuul.pipeline.%s.all_jobs' % build.pipeline.name
|
||||
statsd.incr(key)
|
||||
for label in build.node_labels:
|
||||
# Jenkins includes the node name in its list of labels, so
|
||||
# we filter it out here, since that is not statistically
|
||||
|
|
Loading…
Reference in New Issue