public class DropwizardMeterRegistry extends MeterRegistry
MeterRegistry.Config, MeterRegistry.More, MeterRegistry.Searchclock| Constructor and Description |
|---|
DropwizardMeterRegistry(HierarchicalNameMapper nameMapper,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.concurrent.TimeUnit |
getBaseTimeUnit() |
com.codahale.metrics.MetricRegistry |
getDropwizardRegistry() |
protected Counter |
newCounter(Meter.Id id) |
protected DistributionSummary |
newDistributionSummary(Meter.Id id,
HistogramConfig histogramConfig) |
protected <T> Gauge |
newGauge(Meter.Id id,
T obj,
java.util.function.ToDoubleFunction<T> f) |
protected LongTaskTimer |
newLongTaskTimer(Meter.Id id) |
protected void |
newMeter(Meter.Id id,
Meter.Type type,
java.lang.Iterable<Measurement> measurements) |
protected Timer |
newTimer(Meter.Id id,
HistogramConfig histogramConfig) |
config, counter, counter, find, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, getConventionName, getConventionTags, getMeters, more, newFunctionTimer, newTimeGauge, summary, summary, timer, timerpublic DropwizardMeterRegistry(HierarchicalNameMapper nameMapper, Clock clock)
public com.codahale.metrics.MetricRegistry getDropwizardRegistry()
protected Counter newCounter(Meter.Id id)
newCounter in class MeterRegistryprotected <T> Gauge newGauge(Meter.Id id, T obj, java.util.function.ToDoubleFunction<T> f)
newGauge in class MeterRegistryprotected Timer newTimer(Meter.Id id, HistogramConfig histogramConfig)
newTimer in class MeterRegistryprotected DistributionSummary newDistributionSummary(Meter.Id id, HistogramConfig histogramConfig)
newDistributionSummary in class MeterRegistryprotected LongTaskTimer newLongTaskTimer(Meter.Id id)
newLongTaskTimer in class MeterRegistryprotected void newMeter(Meter.Id id, Meter.Type type, java.lang.Iterable<Measurement> measurements)
newMeter in class MeterRegistryprotected java.util.concurrent.TimeUnit getBaseTimeUnit()
getBaseTimeUnit in class MeterRegistry