If the JVM has the Dropwizard metrics library loaded, custom metrics are collected and displayed at the bottom of the JVM dashboard.
To prevent the backend from overloading, there is a default limit of
To disable or change the limit of metrics being gathered, use the following configuration:
com.instana.plugin.java: dropwizardMetricCollection: enabled: false limit: 200
If the metrics are not displayed even though the library is loaded, register your
MetricRegistry instance as the default. For example:
import com.codahale.metrics.SharedMetricRegistries; import com.codahale.metrics.MetricRegistry; MetricRegistry metricRegistry = new MetricRegistry(); SharedMetricRegistries.setDefault("default", metricRegistry);
- Application name
- Dropwizard version
The sensor collects all core metric types, up to 290 metrics per type:
Custom metrics are automatically ingested and displayed on the Dropwizard dashboard. Note: If the Dropwizard metrics library is used without the framework, custom metrics will show up on the JVM dashboard.
Instana agent performs Dropwizard health checks every 20 seconds. Failing health checks are subsequently reported in the form of issues.