Class HistogramExemplarReservoir
Defined in File histogram_exemplar_reservoir.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public opentelemetry::sdk::metrics::FixedSizeExemplarReservoir
Class Documentation
-
class HistogramExemplarReservoir : public opentelemetry::sdk::metrics::FixedSizeExemplarReservoir
Public Functions
Public Static Functions
-
static inline std::shared_ptr<ReservoirCellSelector> GetHistogramCellSelector(const std::vector<double> &boundaries = std::vector<double>{1.0, 2.0, 3.0, 4.0, 5.0})
-
class HistogramCellSelector : public ReservoirCellSelector
Public Functions
-
inline HistogramCellSelector(const std::vector<double> &boundaries)
-
inline int ReservoirCellIndexFor(const std::vector<ReservoirCell> &cells, int64_t value, const MetricAttributes &attributes, const opentelemetry::context::Context &context) override
-
inline int ReservoirCellIndexFor(const std::vector<ReservoirCell>&, double value, const MetricAttributes&, const opentelemetry::context::Context&) override
-
inline HistogramCellSelector(const std::vector<double> &boundaries)
-
static inline std::shared_ptr<ReservoirCellSelector> GetHistogramCellSelector(const std::vector<double> &boundaries = std::vector<double>{1.0, 2.0, 3.0, 4.0, 5.0})