5#include <userver/utils/statistics/fwd.hpp> 
    6#include <userver/utils/statistics/metric_tag.hpp> 
   10namespace utils::statistics {
 
   15class MetricsStorage 
final {
 
   19  [[nodiscard]] std::vector<Entry> RegisterIn(Storage& statistics_storage);
 
   22  template <
typename Metric>
 
   23  Metric& 
GetMetric(
const MetricTag<Metric>& tag) {
 
   24    return impl::GetMetric<Metric>(metrics_, tag.key_);
 
   30  impl::MetricMap metrics_;
 
   33using MetricsStoragePtr = std::shared_ptr<MetricsStorage>;