31 static constexpr std::string_view
kName =
"statistics-storage";
33 StatisticsStorage(
const ComponentConfig& config,
const ComponentContext& context);
35 ~StatisticsStorage()
override;
37 void OnAllComponentsLoaded()
override;
41 const utils::
statistics::Storage& GetStorage()
const {
return storage_; }
43 utils::
statistics::MetricsStoragePtr GetMetricsStorage() {
return metrics_storage_; }
46 UASSERT(metrics_storage_ !=
nullptr);
47 return *metrics_storage_;
50 static yaml_config::Schema GetStaticConfigSchema();