Skip to content

celenechang/metrics-datadog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrics Datadog Reporter

Simple Metrics reporter that sends reporting info to Datadog.

Usage

import com.yammer.metrics.reporting.DatadogReporter
import com.yammer.metrics.reporting.DatadogReporter.Expansions._

...
val expansions = EnumSet.of(COUNT, RATE_1_MINUTE, RATE_15_MINUTE, MEDIAN, P95, P99)
val reporter = new DatadogReporter.Builder()
  .withEC2Host()
  .withApiKey(apiKey)
  .withExpansions(expansions)
  .withMetricNameFormatter(ShortenedNameFormatter)
  .build()

reporter.start(10, TimeUnit.SECONDS)

Maven Info

Metrics datadog reporter is available as an artifact on Maven Central

  • Group: org.coursera
  • Artifact: metrics-datadog
  • Version: 0.1.6

About

metrics-datadog

Resources

License

Stars

Watchers

Forks

Packages

No packages published