]> git.sesse.net Git - nageru/blobdiff - metrics.h
Add exported metrics for all the latency measurements.
[nageru] / metrics.h
index a570723dae713f218c9b46c8f0d865ff71e526ad..a8156587a5f2484da831eda01af26cc0c4742454 100644 (file)
--- a/metrics.h
+++ b/metrics.h
@@ -72,6 +72,7 @@ class Histogram {
 public:
        void init(const std::vector<double> &bucket_vals);
        void init_uniform(size_t num_buckets);  // Sets up buckets 0..(N-1).
+       void init_geometric(double min, double max, size_t num_buckets);
        void count_event(double val);
        std::string serialize(const std::string &name, const std::vector<std::pair<std::string, std::string>> &labels) const;