public class HistogramGauges extends Object
Modifier and Type | Method and Description |
---|---|
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) |
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
- timer to register to the meter registryregistry
- registry to register gaugespublic static HistogramGauges registerWithCommonFormat(DistributionSummary summary, MeterRegistry registry)
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)
Copyright © 2019. All rights reserved.