public class HistogramGauges
extends java.lang.Object
Modifier and Type | Method and 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.
|
public static HistogramGauges registerWithCommonFormat(Timer timer, MeterRegistry registry)
timer
- the timer from which to derive gaugesregistry
- the registry to register the gaugesHistogramGauges
public static HistogramGauges registerWithCommonFormat(DistributionSummary summary, MeterRegistry registry)
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)