Apache Karaf Decanter provides a monitoring and logging framework built into Apache Karaf.
Events
Decanter uses the EventAdmin service to send and receive events. Events contain arbitrary properties of simple types or Map<String, ?> . If a map is stored into a property then the values of this map must be simple types (String, Integer, ...).
Collectors
Collectors are responsible for acquiring data, transforming them into a decanter event and send it to a topic.
Collectors can either be event based or polling.
Appenders
Appenders listen to topics and send the events to external systems
Gliffy Diagram | ||
---|---|---|
|
Possible extensions
Processors
Listen to events and produce new events
SLA Processors
Listens to events, is configured with SLA rules and creates alert events if rules are violated.
For example rule:
HeapMemoryUsage.max-HeapMemoryUsage.used < 200M -> decanter/alert/memory/heap
Exact syntax for configuration and rules tbd