Skip to content

Commit 6ee08ab

Browse files
authored
Polish Javadoc for gh-4755 (#5056)
1 parent b619d00 commit 6ee08ab

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

micrometer-core/src/main/java/io/micrometer/core/instrument/observation/DefaultMeterObservationHandler.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ public DefaultMeterObservationHandler(MeterRegistry meterRegistry) {
5555
}
5656

5757
/**
58-
* Creates the handler with the defined Meters to use when the handler processes the
59-
* Observations.
58+
* Creates the handler with the defined IgnoredMeters to use when the handler
59+
* processes the Observations.
6060
* @param meterRegistry the MeterRegistry to use
6161
* @param metersToIgnore the Meters that should not be created when Observations are
6262
* handled
63+
* @since 1.13.0
6364
*/
6465
public DefaultMeterObservationHandler(MeterRegistry meterRegistry, IgnoredMeters... metersToIgnore) {
6566
this.meterRegistry = meterRegistry;
@@ -115,6 +116,11 @@ private List<Tag> createTags(Observation.Context context) {
115116
return tags;
116117
}
117118

119+
/**
120+
* Meter types to ignore.
121+
*
122+
* @since 1.13.0
123+
*/
118124
public enum IgnoredMeters {
119125

120126
LONG_TASK_TIMER

0 commit comments

Comments
 (0)