Monitoring Dropwizard

Support information

To make sure that the Dropwizard sensor is compatible with your current setup, check the following support information sections:

Supported versions and support policy

The sensor supports all versions of Dropwizard 4.0 and earlier.

The following table shows the latest supported version and support policy:

Table 1. Latest supported version and support policy
Technology Support policy Latest version Latest supported version
Dropwizard 45 days 4.0.10 4.0.x

For more information about the support policy, see Support strategy for sensors.

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

For monitoring a subset of metrics by using a regular expression, configure the Dropwizard sensor by using the following configuration:

com.instana.plugin.dropwizard:
  metricsRegex: '<OPTIONAL_REGEX_HERE>'

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 are not 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