public class DropwizardMeterRegistry extends MeterRegistry
MeterRegistry.Config, MeterRegistry.More, MeterRegistry.Search
clock
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, timer
public DropwizardMeterRegistry(HierarchicalNameMapper nameMapper, Clock clock)
public com.codahale.metrics.MetricRegistry getDropwizardRegistry()
protected Counter newCounter(Meter.Id id)
newCounter
in class MeterRegistry
protected <T> Gauge newGauge(Meter.Id id, T obj, java.util.function.ToDoubleFunction<T> f)
newGauge
in class MeterRegistry
protected Timer newTimer(Meter.Id id, HistogramConfig histogramConfig)
newTimer
in class MeterRegistry
protected DistributionSummary newDistributionSummary(Meter.Id id, HistogramConfig histogramConfig)
newDistributionSummary
in class MeterRegistry
protected LongTaskTimer newLongTaskTimer(Meter.Id id)
newLongTaskTimer
in class MeterRegistry
protected void newMeter(Meter.Id id, Meter.Type type, java.lang.Iterable<Measurement> measurements)
newMeter
in class MeterRegistry
protected java.util.concurrent.TimeUnit getBaseTimeUnit()
getBaseTimeUnit
in class MeterRegistry