opentelemetry-java-instrume.../instrumentation/micrometer/micrometer-1.5/javaagent
Trask Stalnaker f993e9a498
Add micrometer library doc (#9856)
2023-11-14 11:17:39 -08:00
..
src Use seconds by default in the Micrometer bridge (#8490) 2023-05-15 06:54:37 -07:00
README.md Add micrometer library doc (#9856) 2023-11-14 11:17:39 -08:00
build.gradle.kts Use seconds by default in the Micrometer bridge (#8490) 2023-05-15 06:54:37 -07:00

README.md

Settings for the Micrometer bridge instrumentation

System property Type Default Description
otel.instrumentation.micrometer.base-time-unit String s Set the base time unit for the OpenTelemetry MeterRegistry implementation.
Valid valuesns, nanoseconds, us, microseconds, ms, milliseconds, s, seconds, min, minutes, h, hours, d, days
otel.instrumentation.micrometer.prometheus-mode.enabled boolean false Enable the "Prometheus mode" this will simulate 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.
otel.instrumentation.micrometer.histogram-gauges.enabled boolean false Enables the generation of gauge-based Micrometer histograms for DistributionSummary and Timer instruments.