Monitoring Metatron system through Graphite

Monitoring Metatron system through Graphite

Graphite, a time series database optimized for time series data collection, is a pretty attractive tool for gathering system metrics. Druid is supporting Graphite emmiter extension in it. This extension emits druid metrics to a graphite carbon server. Detailed configuration information is linked here. This article describes how to monitor the Metatron system log using the druid-graphite emmitter.


Metatron’s system monitoring with Graphite requires four prerequisites.


1. Install Druid Extension Installation
2. Edit Druid Configuration
3. Restart the Druid
4. Check the Graphite

Install Druid Extension Installation

Install the extionsion to all the boxes in the Druid cluster.

$ java -classpath "$DRUID_HOME/lib/*" io.druid.cli.Main tools pull-deps -c io.druid.extensions.contrib:graphite-emitter:

$ ls -l $DRUID_HOME/extensions/graphite-emitter/

$DRUID_HOME refers to the home directory where druid is installed.

Edit Druid Configuration

Edit druid “” file as shown below.

# Add to extensions
druid.extensions.loadList=[.........., "graphite-emitter"]
# Configure druid.emitter to composing with previous one and the Graphite. (ex) logging and graphite

# Configure the Graphite to fit your site.
# if you want to send all metrics then use this event convertor,
druid.emitter.graphite.eventConverter={"type":"all", "namespacePrefix": "druid.metatron", "ignoreHostname":true, "ignoreServiceName":true}

Restart the Druid

After restarting druid, if you see the following logs, the installation was successful.

[main] io.druid.emitter.graphite.GraphiteEmitter - Starting Graphite Emitter.
[GraphiteEmitter-0] io.druid.emitter.graphite.GraphiteEmitter - trying to connect to graphite server

Check the Graphite

Now you can access to http://localhost:80, now you can see the graphite tree menu with druid/metatron.

Leave a Reply

Your email address will not be published. Required fields are marked *