New collectors in Apache Karaf Decanter 2.4.0

Apache Karaf Decanter 2.4.0 will be released soon and include a set of new collectors.

Oshi Collector

The oshi collector harvest a bunch of data about the hardware and the operating system. It’s a scheduled collector, executed periodically (every minute by default).

You can have all details about the machine thanks to this collector: motherboard, cpu, sensors, disks, etc, etc.

By default, the oshi collector retrieves all details, but you can filter what you want to harvest in the etc/org.apache.karaf.decanter.collector.oshi.cfg configuration file.

It means now we have the system collector that allows you to periodically execute scripts and shell commands, and the oshi collector that harvests all details about the system.

ConfigAdmin Collector

The ConfigAdmin collector is a event driven collector. It “listens” for any change on the Karaf configuration and send an event for each change.

Prometheus Collector

Karaf Decanter 2.3.0 introduced the Prometheus appender to expose metrics on a Prometheus servlet exposed by Decanter.

On the other hand, the Prometheus collector is able to “parse” a Prometheus servlet to get the gauges and creates the corresponding event.

Elasticsearch Collector

Like we have the Elasticsearch appender to store collected data in Elasticsearch, the Elasticsearch collector is a scheduled collector that periodically executes a search on Elasticsearch instance. The documents hits are created as event sent into Decanter.

Redis Collector

Again, as we have the Redis appender to store collected data in Redis map, the Redis collector periodically retrieves key-value pairs (eventually using key pattern).

Comments

Popular posts from this blog

Quarkus and "meta" extension

Getting started with Apache Karaf Minho

Apache Karaf Minho and OpenTelemetry