public class PrometheusDistributionSummary extends AbstractDistributionSummary
DistributionSummary.Builder
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
long |
count() |
boolean |
equals(Object o) |
int |
hashCode() |
CountAtBucket[] |
histogramCounts()
For Prometheus we cannot use the histogram counts from HistogramSnapshot, as it is based on a
rolling histogram.
|
double |
max() |
protected void |
recordNonNegative(double amount) |
HistogramSnapshot |
takeSnapshot() |
double |
totalAmount() |
record
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder, histogramCountAtValue, mean, measure, percentile
takeSnapshot
protected void recordNonNegative(double amount)
recordNonNegative
in class AbstractDistributionSummary
public long count()
public double totalAmount()
public double max()
public boolean equals(@Nullable Object o)
equals
in class AbstractDistributionSummary
public int hashCode()
hashCode
in class AbstractDistributionSummary
public CountAtBucket[] histogramCounts()
public HistogramSnapshot takeSnapshot()
takeSnapshot
in interface HistogramSupport
takeSnapshot
in class AbstractDistributionSummary
Copyright © 2018. All rights reserved.