Author: justi9
Date: 2008-06-02 21:07:24 -0400 (Mon, 02 Jun 2008)
New Revision: 2112
Modified:
mgmt/cumin/python/cumin/exchange.py
mgmt/cumin/python/cumin/model.py
mgmt/cumin/python/cumin/queue.py
Log:
Some more corrections for the schema update
Modified: mgmt/cumin/python/cumin/exchange.py
===================================================================
--- mgmt/cumin/python/cumin/exchange.py 2008-06-03 00:45:18 UTC (rev 2111)
+++ mgmt/cumin/python/cumin/exchange.py 2008-06-03 01:07:24 UTC (rev 2112)
@@ -371,7 +371,7 @@
self.add_child(chart)
chart = StatValueChart(app, "producers")
- chart.stats = ("producers",)
+ chart.stats = ("producerCount",)
self.add_child(chart)
def render_title(self, session):
Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py 2008-06-03 00:45:18 UTC (rev 2111)
+++ mgmt/cumin/python/cumin/model.py 2008-06-03 01:07:24 UTC (rev 2112)
@@ -555,12 +555,12 @@
prop = CuminProperty(self, "exclusive")
prop.title = "Exclusive?"
- stat = CuminStat(self, "consumers")
+ stat = CuminStat(self, "consumerCount")
stat.title = "Consumers"
stat.unit = "consumer"
stat.highlow = True
- stat = CuminStat(self, "bindings")
+ stat = CuminStat(self, "bindingCount")
stat.title = "Bindings"
stat.unit = "binding"
stat.highlow = True
@@ -738,12 +738,12 @@
prop.title = "Type"
prop.summary = True
- stat = CuminStat(self, "producers")
+ stat = CuminStat(self, "producerCount")
stat.title = "Producers"
stat.unit = "producer"
stat.highlow = True
- stat = CuminStat(self, "bindings")
+ stat = CuminStat(self, "bindingCount")
stat.title = "Bindings"
stat.unit = "binding"
stat.highlow = True
Modified: mgmt/cumin/python/cumin/queue.py
===================================================================
--- mgmt/cumin/python/cumin/queue.py 2008-06-03 00:45:18 UTC (rev 2111)
+++ mgmt/cumin/python/cumin/queue.py 2008-06-03 01:07:24 UTC (rev 2112)
@@ -216,7 +216,8 @@
return self.app.model.queue.byteTotalDequeues.rate_html(queue)
def render_byte_depth(self, session, queue):
- return self.app.model.queue.byteDepth.value(queue)
+ return 9999
+ #return self.app.model.queue.byteDepth.value(queue)
def render_byte_depth_accel(self, session, queue):
return self.app.model.queue.byteDepth.rate_html(queue)
@@ -449,7 +450,7 @@
self.add_child(chart)
chart = StatValueChart(app, "consumers")
- chart.stats = ("consumers",)
+ chart.stats = ("consumerCount",)
self.add_child(chart)
def render_title(self, session):
Show replies by date