Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.11 KB

Dropwizard Metrics Collectd Integration

Build Status

What it is

An artifact providing support for pushing metrics from your Dropwizard app to Collectd via UDP.

Allows you to use the Collectd metric reporter without any custom code. Configuration is done through the application configuration file.

Usage

Add the dependency to your project:

<dependency>
    <groupId>io.appform.dropwizard</groupId>
    <artifactId>dropwizard-metrics-collectd</artifactId>
    <version>${dropwizard-metrics-collectd.version}</version>
</dependency>

Configure the collectd reporter in the metrics section of the dropwizard application configuration file:

metrics:
  reporters:
  - type: collectd
    host: localhost
    port: 2004

The example given above uses the minimal configuration.

Additional common options can be specified as described in the Dropwizard Manual