Use Arena's to manage Metric memory where appropriate

This commit is contained in:
2025-08-31 11:54:17 -04:00
parent b52d6e5a13
commit 93ccd2eb71
3 changed files with 416 additions and 205 deletions

View File

@@ -36,7 +36,6 @@
// histogram.observe(0.25); // ONLY call from creating thread
#include <functional>
#include <initializer_list>
#include <span>
#include <string>
#include <type_traits>
@@ -197,4 +196,4 @@ bool is_valid_label_value(const std::string &value);
// Note: Histograms do not support callbacks due to their multi-value nature
// (buckets + sum + count). Use static histogram metrics only.
} // namespace metric
} // namespace metric