public class WavefrontInternalReporter extends Object implements Reporter, EntitiesInstantiator, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
WavefrontInternalReporter.Builder
A builder for
WavefrontInternalReporter instances. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SOURCE_WF_INTERNAL_REPORTER |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFailureCount()
Get total failure count reported by this reporter
|
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
|
void |
report() |
void |
start(long period,
TimeUnit unit)
Start Wavefront Internal Reporter
|
void |
stop()
Stop the Wavefront Internal Reporter
|
public static final String DEFAULT_SOURCE_WF_INTERNAL_REPORTER
public void report()
public void start(long period,
TimeUnit unit)
Reporterpublic void stop()
Reporterpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic io.dropwizard.metrics5.Counter newCounter(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewCounter in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic DeltaCounter newDeltaCounter(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewDeltaCounter in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic io.dropwizard.metrics5.Gauge newGauge(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.MetricRegistry.MetricSupplier<io.dropwizard.metrics5.Gauge> supplier)
EntitiesInstantiatornewGauge in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic io.dropwizard.metrics5.Histogram newHistogram(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewHistogram in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic io.dropwizard.metrics5.Timer newTimer(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewTimer in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic io.dropwizard.metrics5.Timer newTimer(io.dropwizard.metrics5.MetricName metricName,
io.dropwizard.metrics5.SlidingTimeWindowArrayReservoir slidingTimeWindowArrayReservoir)
EntitiesInstantiatornewTimer in interface EntitiesInstantiatorpublic io.dropwizard.metrics5.Meter newMeter(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewMeter in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic WavefrontHistogram newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName)
EntitiesInstantiatornewWavefrontHistogram in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagspublic WavefrontHistogram newWavefrontHistogram(io.dropwizard.metrics5.MetricName metricName, Supplier<Long> clock)
EntitiesInstantiatornewWavefrontHistogram in interface EntitiesInstantiatormetricName - entity composed of name and optional point tagsclock - optional clock to change time manuallypublic int getFailureCount()
ReportergetFailureCount in interface ReporterCopyright © 2022. All rights reserved.