Add logstash job queue graph

Change-Id: Id9fba7b51415abaf288a6e6a98b383054eec63ba
This commit is contained in:
James E. Blair 2014-02-24 16:56:18 -08:00
parent 33f7de9f84
commit 8669e23233

View File

@ -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"
}));
</script>
</div>