23 #include "prometheus/client_metric.h"
24 #include "prometheus/counter.h"
25 #include "prometheus/detail/builder.h"
26 #include "prometheus/detail/core_export.h"
27 #include "prometheus/gauge.h"
28 #include "prometheus/metric_type.h"
64 explicit Histogram(
const BucketBoundaries& buckets);
67 explicit Histogram(BucketBoundaries&& buckets);
75 void Observe(
double value);
82 void ObserveMultiple(
const std::vector<double>& bucket_increments,
83 double sum_of_values);
97 BucketBoundaries bucket_boundaries_;
98 mutable std::mutex mutex_;
99 std::vector<Counter> bucket_counts_;