From 6ee08ab8bb9dba0358320600805f02d5fd13a4c3 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 9 May 2024 06:03:20 +0900 Subject: [PATCH] Polish Javadoc for gh-4755 (#5056) --- .../observation/DefaultMeterObservationHandler.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/observation/DefaultMeterObservationHandler.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/observation/DefaultMeterObservationHandler.java index d1d810aeb0..a21a37ae41 100644 --- a/micrometer-core/src/main/java/io/micrometer/core/instrument/observation/DefaultMeterObservationHandler.java +++ b/micrometer-core/src/main/java/io/micrometer/core/instrument/observation/DefaultMeterObservationHandler.java @@ -55,11 +55,12 @@ public DefaultMeterObservationHandler(MeterRegistry meterRegistry) { } /** - * Creates the handler with the defined Meters to use when the handler processes the - * Observations. + * Creates the handler with the defined IgnoredMeters to use when the handler + * processes the Observations. * @param meterRegistry the MeterRegistry to use * @param metersToIgnore the Meters that should not be created when Observations are * handled + * @since 1.13.0 */ public DefaultMeterObservationHandler(MeterRegistry meterRegistry, IgnoredMeters... metersToIgnore) { this.meterRegistry = meterRegistry; @@ -115,6 +116,11 @@ private List createTags(Observation.Context context) { return tags; } + /** + * Meter types to ignore. + * + * @since 1.13.0 + */ public enum IgnoredMeters { LONG_TASK_TIMER