Skip to content

Commit 1873ac2

Browse files
committed
Update JavaDoc
1 parent fc4524f commit 1873ac2

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

Diff for: implementations/micrometer-registry-otlp/src/main/java/io/micrometer/registry/otlp/OtlpMeterRegistry.java

+8-12
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,9 @@ public interface HistogramFlavorPerMeterLookup {
546546

547547
/**
548548
* Looks up the histogram flavor to use on a per-meter level. This will override
549-
* the {@link OtlpConfig#histogramFlavor()} for matching Meters. The default
550-
* implementation in {@link OtlpMeterRegistry} does a prefix match on the Meter's
551-
* name in the map that {@link OtlpConfig#histogramFlavorPerMeter()} returns. This
552-
* means that {@link OtlpConfig#histogramFlavorPerMeter()} provides the data while
553-
* this method provides the logic for the lookup, and you can override them
549+
* the {@link OtlpConfig#histogramFlavor()} for matching Meters.
550+
* {@link OtlpConfig#histogramFlavorPerMeter()} provides the data while this
551+
* method provides the logic for the lookup, and you can override them
554552
* independently.
555553
* @param id the {@link Meter.Id} the {@link HistogramFlavor} is configured for
556554
* @return the histogram flavor mapped to the {@link Meter.Id}
@@ -572,13 +570,11 @@ public interface MaxBucketsPerMeterLookup {
572570

573571
/**
574572
* Looks up the max bucket count to use on a per-meter level. This will override
575-
* the {@link OtlpConfig#maxBucketCount()} for matching Meters. The default
576-
* implementation in {@link OtlpMeterRegistry} does a prefix match on the Meter's
577-
* name in the map that {@link OtlpConfig#maxBucketsPerMeter()} returns. This
578-
* means that {@link OtlpConfig#maxBucketsPerMeter()} provides the data while this
579-
* method provides the logic for the lookup, and you can override them
580-
* independently. This has no effect on a meter if it does not have an exponential
581-
* bucket histogram configured.
573+
* the {@link OtlpConfig#maxBucketCount()} for matching Meters.
574+
* {@link OtlpConfig#maxBucketsPerMeter()} provides the data while this method
575+
* provides the logic for the lookup, and you can override them independently.
576+
* This has no effect on a meter if it does not have an exponential bucket
577+
* histogram configured.
582578
* @param id the {@link Meter.Id} the max bucket count is configured for
583579
* @return the max bucket count mapped to the {@link Meter.Id}
584580
* @see OtlpConfig#maxBucketsPerMeter()

0 commit comments

Comments
 (0)