Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 539 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 539 Bytes

Dropwizard JMX export

See JmxMetricsMonitor.

import com.avast.metrics.api.*;
import com.avast.metrics.dropwizard.*;

JmxMetricsMonitor monitor = new JmxMetricsMonitor("com.avast.myapp");
Handler handler = new Handler(monitor.named("Handler1"));
import com.avast.metrics.scalaapi.Monitor
import com.avast.metrics.dropwizard.JmxMetricsMonitor

val javaMonitor = new JmxMetricsMonitor("com.avast.myapp")
val scalaMonitor = Monitor(javaMonitor)