public class WavefrontHistogram
extends io.dropwizard.metrics5.Histogram
implements io.dropwizard.metrics5.Metric
| Modifier and Type | Method and Description |
|---|---|
List<com.wavefront.sdk.entities.histograms.WavefrontHistogramImpl.Distribution> |
flushDistributions() |
static WavefrontHistogram |
get(io.dropwizard.metrics5.MetricRegistry registry,
io.dropwizard.metrics5.MetricName metricName) |
static WavefrontHistogram |
get(io.dropwizard.metrics5.MetricRegistry registry,
io.dropwizard.metrics5.MetricName metricName,
Supplier<Long> clock) |
long |
getCount() |
io.dropwizard.metrics5.Snapshot |
getSnapshot() |
void |
update(double value) |
void |
update(int value) |
void |
update(long value) |
public static WavefrontHistogram get(io.dropwizard.metrics5.MetricRegistry registry, io.dropwizard.metrics5.MetricName metricName)
public static WavefrontHistogram get(io.dropwizard.metrics5.MetricRegistry registry, io.dropwizard.metrics5.MetricName metricName, Supplier<Long> clock)
public void update(int value)
update in class io.dropwizard.metrics5.Histogrampublic void update(long value)
update in class io.dropwizard.metrics5.Histogrampublic void update(double value)
public long getCount()
getCount in interface io.dropwizard.metrics5.CountinggetCount in class io.dropwizard.metrics5.Histogrampublic io.dropwizard.metrics5.Snapshot getSnapshot()
getSnapshot in interface io.dropwizard.metrics5.SamplinggetSnapshot in class io.dropwizard.metrics5.Histogrampublic List<com.wavefront.sdk.entities.histograms.WavefrontHistogramImpl.Distribution> flushDistributions()
Copyright © 2022. All rights reserved.