# Dropwizard Metrics

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Java agent instrumentation

The dropwizard-metrics instrumentation for the dropwizard/codahale metrics library produces OpenTelemetry compliant versions of the metrics generated by the Dropwizard MetricRegistry.
The Dropwizard metrics API does not have a concept of metric labels/tags/attributes, thus the data produced by this integration might be of very low quality, depending on how the API is used in the instrumented application.

- **Name**: `dropwizard-metrics-4.0`
- **Scope**: `io.opentelemetry.dropwizard-metrics-4.0`
- **Target versions**: `io.dropwizard.metrics:metrics-core:[4.0.0,)`
- **Library**: https://metrics.dropwizard.io/4.2.0/

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `otel.instrumentation.dropwizard-metrics.enabled` | boolean | false | Enables the dropwizard metrics instrumentation. |

## Data

- **JSON**: [/data/javaagent/instrumentations/dropwizard-metrics-4.0/dropwizard-metrics-4.0-dc79f12985c7.json](/data/javaagent/instrumentations/dropwizard-metrics-4.0/dropwizard-metrics-4.0-dc79f12985c7.json)
- **Explore**: [/java-agent/instrumentation/dropwizard-metrics-4.0](/java-agent/instrumentation/dropwizard-metrics-4.0)
