Class HistogramGauges
java.lang.Object
io.micrometer.core.instrument.distribution.HistogramGauges
@Incubating(since="1.0.3") public class HistogramGauges extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static HistogramGauges
register(HistogramSupport meter, MeterRegistry registry, java.util.function.Function<ValueAtPercentile,java.lang.String> percentileName, java.util.function.Function<ValueAtPercentile,java.lang.Iterable<Tag>> percentileTags, java.util.function.Function<ValueAtPercentile,java.lang.Double> percentileValue, java.util.function.Function<CountAtBucket,java.lang.String> bucketName, java.util.function.Function<CountAtBucket,java.lang.Iterable<Tag>> bucketTags)
static HistogramGauges
registerWithCommonFormat(DistributionSummary summary, MeterRegistry registry)
static HistogramGauges
registerWithCommonFormat(LongTaskTimer ltt, MeterRegistry registry)
Register a set of gauges for percentiles and histogram buckets that follow a common format when the monitoring system doesn't have an opinion about the structure of this data.static HistogramGauges
registerWithCommonFormat(Timer timer, MeterRegistry registry)
Register a set of gauges for percentiles and histogram buckets that follow a common format when the monitoring system doesn't have an opinion about the structure of this data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
registerWithCommonFormat
Register a set of gauges for percentiles and histogram buckets that follow a common format when the monitoring system doesn't have an opinion about the structure of this data.- Parameters:
timer
- the timer from which to derive gaugesregistry
- the registry to register the gauges- Returns:
- registered
HistogramGauges
-
registerWithCommonFormat
Register a set of gauges for percentiles and histogram buckets that follow a common format when the monitoring system doesn't have an opinion about the structure of this data.- Parameters:
ltt
- the long task timer from which to derive gaugesregistry
- the registry to register the gauges- Returns:
- registered
HistogramGauges
- Since:
- 1.5.0
-
registerWithCommonFormat
public static HistogramGauges registerWithCommonFormat(DistributionSummary summary, MeterRegistry registry) -
register
public static HistogramGauges register(HistogramSupport meter, MeterRegistry registry, java.util.function.Function<ValueAtPercentile,java.lang.String> percentileName, java.util.function.Function<ValueAtPercentile,java.lang.Iterable<Tag>> percentileTags, java.util.function.Function<ValueAtPercentile,java.lang.Double> percentileValue, java.util.function.Function<CountAtBucket,java.lang.String> bucketName, java.util.function.Function<CountAtBucket,java.lang.Iterable<Tag>> bucketTags)
-