6 #include "prometheus/client_metric.h"
7 #include "prometheus/counter.h"
8 #include "prometheus/detail/builder.h"
9 #include "prometheus/detail/core_export.h"
10 #include "prometheus/gauge.h"
11 #include "prometheus/metric_type.h"
47 explicit Histogram(
const BucketBoundaries& buckets);
50 explicit Histogram(BucketBoundaries&& buckets);
58 void Observe(
double value);
65 void ObserveMultiple(
const std::vector<double>& bucket_increments,
66 double sum_of_values);
80 BucketBoundaries bucket_boundaries_;
81 mutable std::mutex mutex_;
82 std::vector<Counter> bucket_counts_;