THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Sensor - some named number with a well-defined algorithm to calculate the value in any given moments in time.
Code Block | ||
---|---|---|
| ||
class Sensor {
String name; //EntryCount, MemoryAvailable, etc
long value; //or double
Collection<Tuple2<String, String>> labels; //hostName, cacheName, etc.
}
class TimeSensor {
String name; //EntryCount, MemoryAvailable, etc
long value; //or double
long ts; //timestamp of the last value update.
Collection<Tuple2<String, String>> labels; //hostName, cacheName, etc.
} |
MonitoringEvent - generated when some user-defined code violates the threshold.
Code Block | ||
---|---|---|
| ||
class MonitoringEvent { MonitoringEventType type; //Event type. T info; //Event info. Type of info differs for different type of events. } |
...