Commit Graph

2 Commits

Author SHA1 Message Date
Paul Belanger b107af0c05 Update docs since zuul-web requires zookeeper
This adds a reno note for upgrading to 3.4.0 about zuul-web needing
access to zookeeper now.  Also update our components diagram too.

Change-Id: I60e9eaa6cc78306e71869602e330b4bec435d158
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-01-11 13:11:05 -05:00
Ian Wienand c6fe6459f2 Rework zuul nodepool stats reporting
The current stats set a counter zuul.nodepool.<status> but then tries
to set more counters like zuul.nodepool.<status>.label.

This doesn't work because zuul.nodepool.<status> is already a counter
value; it can't also be an intermediate key.  Note this *does* work
with the timer values, but that's because statsd is turning the timer
into individual values
(e.g. zuul.nodepool.<status>.<mean|count|std...>) as it flushes each
interval.

Thus we need to rethink these stats.  This puts them under a new
intermeidate key "requests" and adds a "total" count; thus
zuul.nodepool.<status> == zuul.nodepool.requests.<status>.total

The other stats, showing requests by-label and by-size will now live
under the zuul.nodepool.requests parent.

While we're here, use a statsd pipeline to send the status update as
it works better when sending lots of stats quickly over UDP.  This
isn't handled by the current debug log below; move this into the
test-case framework.

The documentation has been clarified to match the code.

Change-Id: I127e8b6d08ab86e0f24018fd4b33c626682c76c7
2018-12-10 14:56:36 +11:00