public interface EntitiesInstantiator
| Modifier and Type | Method and Description |
|---|---|
io.dropwizard.metrics5.Counter |
newCounter(io.dropwizard.metrics5.MetricName metricName)
Returns a new counter
|
DeltaCounter |
newDeltaCounter(io.dropwizard.metrics5.MetricName metricName)
Returns a new Wavefront DeltaCounter
|
io.dropwizard.metrics5.Gauge |
newGauge(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.MetricRegistry.MetricSupplier<io.dropwizard.metrics5.Gauge> supplier)
Returns a new Gauge in idempotent manner.
|
io.dropwizard.metrics5.Histogram |
newHistogram(io.dropwizard.metrics5.MetricName metricName)
Returns a histogram
|
io.dropwizard.metrics5.Meter |
newMeter(io.dropwizard.metrics5.MetricName metricName)
Returns a new meter
|
io.dropwizard.metrics5.Timer |
newTimer(io.dropwizard.metrics5.MetricName metricName)
Returns a new timer
|
io.dropwizard.metrics5.Timer |
newTimer(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.SlidingTimeWindowArrayReservoir slidingTimeWindowArrayReservoir)
+ * Returns a new timer
+ *
+ * @param metricName entity composed of name and optional point tags
+ * @param slidingTimeWindowArrayReservoir optional SlidingTimeWindowArrayReservoir
+ * @return Timer
+
|
WavefrontHistogram |
newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName)
Returns a new WavefrontHistogram
|
WavefrontHistogram |
newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName,
Supplier<Long> clock)
Returns a new WavefrontHistogram
|
io.dropwizard.metrics5.Counter newCounter(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsDeltaCounter newDeltaCounter(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsio.dropwizard.metrics5.Gauge newGauge(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.MetricRegistry.MetricSupplier<io.dropwizard.metrics5.Gauge> supplier)
metricName - entity composed of name and optional point tagssupplier - io.dropwizard.metrics5.Histogram newHistogram(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsio.dropwizard.metrics5.Timer newTimer(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsio.dropwizard.metrics5.Timer newTimer(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.SlidingTimeWindowArrayReservoir slidingTimeWindowArrayReservoir)
io.dropwizard.metrics5.Meter newMeter(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsWavefrontHistogram newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName)
metricName - entity composed of name and optional point tagsWavefrontHistogram newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName, Supplier<Long> clock)
metricName - entity composed of name and optional point tagsclock - optional clock to change time manuallyCopyright © 2022. All rights reserved.