Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Files

Latest commit

 

History

History
16 lines (11 loc) · 553 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 553 Bytes

Metrics Datadog Reporter

Simple Metrics reporter backend that sends metrics to DataDog.

Usage

import com.yammer.metrics.reporting.DatadogReporter

...

DatadogReporter.enable(15, TimeUnit.SECONDS, myDatadogKey, dataDogHostname)

The hostname provided with each publish needs to match the hostname defined in the /etd/dd-agent/datadog.conf file that configures the DataDog agent. This is so that the metrics being pushed directly to datadog via this library can be associated with other (box-level) metrics being pushed by the agent.