This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/dropwizard-metrics-4.0.md.

Dropwizard Metrics

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

OptionTypeDefaultDescription
otel.instrumentation.dropwizard-metrics.enabledbooleanfalseEnables the dropwizard metrics instrumentation.

Data

  • JSON: /data/javaagent/instrumentations/dropwizard-metrics-4.0/dropwizard-metrics-4.0-dc79f12985c7.json
  • Explore: /java-agent/instrumentation/dropwizard-metrics-4.0