Class FixedBoundaryVictoriaMetricsHistogram
java.lang.Object
io.micrometer.core.instrument.distribution.FixedBoundaryVictoriaMetricsHistogram
- All Implemented Interfaces:
Histogram,AutoCloseable
A histogram implementation for non-negative values with automatically created buckets.
It does not support precomputed percentiles but supports aggregable percentile
histograms. It's suitable only with VictoriaMetrics storage.
Reference
implementation written in Go originally by Aliaksandr Valialkin.
- Since:
- 1.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetRangeTagValue(double value) voidrecordDouble(double value) voidrecordLong(long value) takeSnapshot(long count, double total, double max)
-
Constructor Details
-
FixedBoundaryVictoriaMetricsHistogram
public FixedBoundaryVictoriaMetricsHistogram()
-
-
Method Details
-
recordLong
public void recordLong(long value) - Specified by:
recordLongin interfaceHistogram
-
recordDouble
public void recordDouble(double value) - Specified by:
recordDoublein interfaceHistogram
-
getRangeTagValue
-
takeSnapshot
- Specified by:
takeSnapshotin interfaceHistogram
-