[rhmessaging-commits] rhmessaging commits: r2141 - mgmt/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri Jun 6 07:35:42 EDT 2008


Author: justi9
Date: 2008-06-06 07:35:41 -0400 (Fri, 06 Jun 2008)
New Revision: 2141

Modified:
   mgmt/cumin/python/cumin/model.py
   mgmt/cumin/python/cumin/queue.strings
Log:
Restore the byte depth column in the queue table

Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py	2008-06-05 23:02:57 UTC (rev 2140)
+++ mgmt/cumin/python/cumin/model.py	2008-06-06 11:35:41 UTC (rev 2141)
@@ -1017,11 +1017,13 @@
         prop.title = "Name"
         prop.summary = True
 
-        prop = CuminProperty(self, "journalDirectory")
+        prop = CuminProperty(self, "directory")
         prop.title = "Directory"
 
         stat = CuminStat(self, "initialFileCount")
         stat.title = "Initial File Count"
+        stat.unit = "file"
+        stat.category = "io.journal"
 
         stat = CuminStat(self, "dataFileSize")
         stat.title = "Data File Size"

Modified: mgmt/cumin/python/cumin/queue.strings
===================================================================
--- mgmt/cumin/python/cumin/queue.strings	2008-06-05 23:02:57 UTC (rev 2140)
+++ mgmt/cumin/python/cumin/queue.strings	2008-06-06 11:35:41 UTC (rev 2141)
@@ -17,7 +17,7 @@
    / (extract(epoch from (c.rec_time - p.rec_time)) + 0.0001) as bdequeued,
   case when p.byte_total_dequeues is null then true else false end as bdequeued_is_null,
   c.msg_depth as mdepth,
-  999 as bdepth,
+  c.byte_depth as bdepth,
   1 as mdepthaccel,
   1 as bdepthaccel,
   c.rec_time




More information about the rhmessaging-commits mailing list