Uses of Class
io.opentelemetry.sdk.metrics.internal.exemplar.ReservoirCell
Packages that use ReservoirCell
Package
Description
Metric exemplar extension points.
-
Uses of ReservoirCell in io.opentelemetry.sdk.metrics.internal.exemplar
Fields in io.opentelemetry.sdk.metrics.internal.exemplar declared as ReservoirCellModifier and TypeFieldDescriptionprivate final ReservoirCell[]
FixedSizeExemplarReservoir.storage
Fields in io.opentelemetry.sdk.metrics.internal.exemplar with type parameters of type ReservoirCellModifier and TypeFieldDescriptionprivate final BiFunction
<ReservoirCell, Attributes, T> FixedSizeExemplarReservoir.mapAndResetCell
Methods in io.opentelemetry.sdk.metrics.internal.exemplar with parameters of type ReservoirCellModifier and TypeMethodDescriptionprivate int
RandomFixedSizeExemplarReservoir.RandomCellSelector.reservoirCellIndex
(ReservoirCell[] cells) int
HistogramExemplarReservoir.HistogramCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, double value, Attributes attributes, Context context) int
HistogramExemplarReservoir.HistogramCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, long value, Attributes attributes, Context context) int
RandomFixedSizeExemplarReservoir.RandomCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, double value, Attributes attributes, Context context) int
RandomFixedSizeExemplarReservoir.RandomCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, long value, Attributes attributes, Context context) int
ReservoirCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, double value, Attributes attributes, Context context) Determine the index of thecells
to record the measurement to.int
ReservoirCellSelector.reservoirCellIndexFor
(ReservoirCell[] cells, long value, Attributes attributes, Context context) Determine the index of thecells
to record the measurement to.Constructor parameters in io.opentelemetry.sdk.metrics.internal.exemplar with type arguments of type ReservoirCellModifierConstructorDescription(package private)
FixedSizeExemplarReservoir
(Clock clock, int size, ReservoirCellSelector reservoirCellSelector, BiFunction<ReservoirCell, Attributes, T> mapAndResetCell) Instantiates an exemplar reservoir of fixed size.private
RandomFixedSizeExemplarReservoir
(Clock clock, int size, Supplier<Random> randomSupplier, BiFunction<ReservoirCell, Attributes, T> mapAndResetCell)