Class HistogramGauges
java.lang.Object
io.micrometer.core.instrument.distribution.HistogramGauges
-
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramGaugesregister(HistogramSupport meter, MeterRegistry registry, Function<ValueAtPercentile,String> percentileName, Function<ValueAtPercentile,Iterable<Tag>> percentileTags, Function<ValueAtPercentile,Double> percentileValue, Function<CountAtBucket,String> bucketName, Function<CountAtBucket,Iterable<Tag>> bucketTags)static HistogramGaugesregisterWithCommonFormat(DistributionSummary summary, MeterRegistry registry)static HistogramGaugesregisterWithCommonFormat(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 HistogramGaugesregisterWithCommonFormat(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 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, Function<ValueAtPercentile,String> percentileName, Function<ValueAtPercentile,Iterable<Tag>> percentileTags, Function<ValueAtPercentile,Double> percentileValue, Function<CountAtBucket,String> bucketName, Function<CountAtBucket,Iterable<Tag>> bucketTags)
-