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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getRangeTagValue
(double value) void
recordDouble
(double value) void
recordLong
(long value) takeSnapshot
(long count, double total, double max)
-
Constructor Details
-
FixedBoundaryVictoriaMetricsHistogram
public FixedBoundaryVictoriaMetricsHistogram()
-
-
Method Details
-
recordLong
public void recordLong(long value) - Specified by:
recordLong
in interfaceHistogram
-
recordDouble
public void recordDouble(double value) - Specified by:
recordDouble
in interfaceHistogram
-
getRangeTagValue
-
takeSnapshot
- Specified by:
takeSnapshot
in interfaceHistogram
-