Monitoring Dropwizard

Supported information

Supported tracing

For this technology, Instana supports tracing. For more information, see Instrumented frameworks and libraries.

Configuring

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:

com.instana.plugin.java:
  dropwizardMetricCollection:
    enabled: false
    limit: 200

Dropwizard instrumentation depends on the Dropwizard API which is called regularly because of dynamic attachment. If the application code initializes Dropwizard before the attachment, metrics won’t be captured until the Dropwizard API is called again.

Tracked Configuration

  • Application name
  • Dropwizard version

Metrics

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.

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