Monitoring Dropwizard

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 200 metrics.

To disable or change the limit of metrics being gathered, use the following configuration:
    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);

Tracked Configuration

  • Application name
  • Dropwizard version


The sensor collects all core metric types, up to 290 metrics per type:

  • Counters
  • Gauges
  • Histograms
  • Meters
  • Timers

Custom Metrics

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.

Health Checks

Instana agent performs Dropwizard health checks every 20 seconds. Failing health checks are subsequently reported in the form of issues.

How failing health checks are presented within Instana