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/micrometer-1.5.md.

Micrometer

OpenTelemetry Java agent instrumentation

This instrumentation enables a Micrometer MeterRegistry that bridges Micrometer metrics to the OpenTelemetry Metrics SDK. It is disabled by default because it may produce metrics that overlap with metrics already captured by other instrumentations.

  • Name: micrometer-1.5
  • Scope: io.opentelemetry.micrometer-1.5
  • Target versions: io.micrometer:micrometer-core:[1.5.0,)
  • Library: https://micrometer.io/

Configuration

OptionTypeDefaultDescription
otel.instrumentation.micrometer.base-time-unitstringsSets the base time unit for the OpenTelemetry MeterRegistry. Supported values: ns, us, ms, s, min, h, d.
otel.instrumentation.micrometer.histogram-gauges.enabledbooleanfalseEnables gauge-based Micrometer histograms for DistributionSummary and Timer instruments.
otel.instrumentation.micrometer.prometheus-mode.enabledbooleanfalseSimulates the behavior of Micrometer's PrometheusMeterRegistry. The instruments will be renamed to match Micrometer instrument naming, and the base time unit will be set to seconds.

Data

  • JSON: /data/javaagent/instrumentations/micrometer-1.5/micrometer-1.5-16b7b58c3d7f.json
  • Explore: /java-agent/instrumentation/micrometer-1.5