Author: justi9
Date: 2008-03-27 13:44:39 -0400 (Thu, 27 Mar 2008)
New Revision: 1805
Modified:
mgmt/cumin/python/cumin/model.py
Log:
Add missing stats to the ui metadata
Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py 2008-03-27 15:24:41 UTC (rev 1804)
+++ mgmt/cumin/python/cumin/model.py 2008-03-27 17:44:39 UTC (rev 1805)
@@ -405,6 +405,7 @@
stat.title = "Msgs. Unacked"
stat.unit = "message"
stat.categories = ("general")
+ stat.highlow = True
stat = CuminStat(self, "messageLatencyMin", "int")
stat.title = "Min. Msg. Latency"
@@ -416,11 +417,16 @@
stat.unit = "nanosecond"
stat.categories = ("general")
- stat = CuminStat(self, "messageLatencyAvg", "int")
+ stat = CuminStat(self, "messageLatencyAverage", "int")
stat.title = "Avg. Msg. Latency"
stat.unit = "nanosecond"
stat.categories = ("general")
+ stat = CuminStat(self, "messageLatencySamples", "int")
+ stat.title = "Msg. Latency Samples"
+ stat.unit = "sample"
+ stat.categories = ("general")
+
# Disk
#stat = CuminStat(self, "diskPageSize", "int")
@@ -604,6 +610,10 @@
def __init__(self, model):
super(CuminClient, self).__init__(model, "client", Client,
ClientStats)
+ stat = CuminStat(self, "closing", "bool")
+ stat.title = "Closing Down"
+ stat.categories = ("general")
+
stat = CuminStat(self, "bytesFromClient", "int")
stat.title = "Bytes Sent"
stat.unit = "byte"
@@ -644,9 +654,8 @@
super(CuminSession, self).__init__(model, "session",
Session, SessionStats)
- stat = CuminStat(self, "remainingLifespan", "int")
- stat.title = "Remaining Lifespan"
- stat.unit = "second"
+ stat = CuminStat(self, "expireTime", "datetime")
+ stat.title = "Expiration"
stat.categories = ("general")
stat = CuminStat(self, "framesOutstanding", "int")
@@ -698,6 +707,10 @@
def __init__(self, model):
super(CuminLink, self).__init__(model, "link", Link, LinkStats)
+ stat = CuminStat(self, "closing", "bool")
+ stat.title = "Closing Down"
+ stat.categories = ("general")
+
stat = CuminStat(self, "framesFromPeer", "int")
stat.title = "Frames from Peer"
stat.unit = "frame"