From 8669e23233a970d177b82496bb6df2fcce6e6e27 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 24 Feb 2014 16:56:18 -0800 Subject: [PATCH] Add logstash job queue graph Change-Id: Id9fba7b51415abaf288a6e6a98b383054eec63ba --- modules/openstack_project/files/zuul/status.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/openstack_project/files/zuul/status.html b/modules/openstack_project/files/zuul/status.html index 34b462f984..5476fd1f28 100644 --- a/modules/openstack_project/files/zuul/status.html +++ b/modules/openstack_project/files/zuul/status.html @@ -359,6 +359,21 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({ title: "Zuul Job Queue" })); +$("#graph-container").append($(new Image()).addClass('graph').graphite({ + from: "-24hours", + width: 334, + height: 180, + bgcolor: 'ffffff', + fgcolor: '000000', + target: [ + "color(alias(stats.gauges.logstash.geard.queue.running, 'Running'), 'blue')", + "color(alias(stats.gauges.logstash.geard.queue.waiting, 'Waiting'), 'red')", + "color(alias(stats.gauges.logstash.geard.queue.total, 'Total Jobs'), '888888')", + "color(alias(stats.gauges.logstash.geard.workers, 'Workers'), 'green')", + ], + title: "Logstash Job Queue" +})); +