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
All Methods Static Methods Concrete Methods 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(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.
-
-
-
Method Detail
-
registerWithCommonFormat
public 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.- Parameters:
timer
- the timer from which to derive gaugesregistry
- the registry to register the gauges- Returns:
- registered
HistogramGauges
-
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)
-
-