Package ZenModel :: Module ThresholdInstance :: Class ThresholdContext
[hide private]
[frames] | no frames]

Class ThresholdContext

source code

  twisted.spread.pb.Copyable --+
                               |
twisted.spread.pb.RemoteCopy --+
                               |
                              ThresholdContext

Remember all the little details about a specific data point within a context. This is useful for error messages and path information in the collectors. It's a copy of the key bits of information from the Model.

Instance Methods [hide private]
 
__init__(self, context) source code
 
key(self)
Unique data that refers this context
source code
 
fileKey(self, dataPoint)
Unique base filename for this context and given dataPoint
source code
 
path(self, dataPoint)
The full pathname to RRD file that uses a dataPoint
source code