public interface SdkReporter
| Modifier and Type | Method and Description |
|---|---|
void |
incrementCounter(io.dropwizard.metrics5.MetricName metricName)
Increment the counter metric.
|
void |
incrementCounter(io.dropwizard.metrics5.MetricName metric,
long n)
Increment the counter metric by
n. |
void |
incrementDeltaCounter(io.dropwizard.metrics5.MetricName metricName)
Increment the delta counter
|
void |
registerGauge(io.dropwizard.metrics5.MetricName metricName,
AtomicInteger value)
Register Integer Gauge so that it is reported to Wavefront.
|
void |
start()
Start the reporter.
|
void |
stop()
Stop the reporter.
|
void |
updateHistogram(io.dropwizard.metrics5.MetricName metricName,
long latencyMillis)
Update the histogram metric with the input latency.
|
void incrementCounter(io.dropwizard.metrics5.MetricName metricName)
metricName - Name of the Counter to be reported.void incrementCounter(io.dropwizard.metrics5.MetricName metric,
long n)
n.metric - Name of the Counter to be reported.n - value by which to increment the counter.void incrementDeltaCounter(io.dropwizard.metrics5.MetricName metricName)
metricName - Name of the Delta Counter to be reported.void updateHistogram(io.dropwizard.metrics5.MetricName metricName,
long latencyMillis)
metricName - Name of the histogram to be reported.latencyMillis - API latency in millis.void registerGauge(io.dropwizard.metrics5.MetricName metricName,
AtomicInteger value)
metricName - Name of the gauge to be reported.value - Value of the gauge.void start()
void stop()
Copyright © 2022. All rights reserved.