From f564b28ee370ea2e1da62ebf4d1446cdcfd139a0 Mon Sep 17 00:00:00 2001 From: Bruno Tavares Date: Thu, 15 Oct 2015 15:20:51 -0300 Subject: [PATCH] Adds missing statsd counter increment. It seems that the counter for 'zuul.pipeline..all_jobs' was removed unintentionally, as part of features introduced on b2332081d8e0fda780bbc1f4dfd917f2546d1724 This changes reintroduce the counter increment on that key. Co-Authored-By: Danilo Ramalho Change-Id: I52f5aab5fb42b60c9af29c6ce312c3d04b883a02 --- zuul/scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zuul/scheduler.py b/zuul/scheduler.py index e9e6cc7a1d..9ec7b36c25 100644 --- a/zuul/scheduler.py +++ b/zuul/scheduler.py @@ -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