#include <userver/components/statistics_storage.hpp>
Component that keeps a utils::statistics::Storage storage for metrics.
Returned references to utils::statistics::Storage live for a lifetime of the component and are safe for concurrent use.
The component does not have any options for service config.
Definition at line 32 of file statistics_storage.hpp.
 Inheritance diagram for components::StatisticsStorage:
 Collaboration diagram for components::StatisticsStorage:Public Member Functions | |
| StatisticsStorage (const ComponentConfig &config, const ComponentContext &context) | |
| void | OnAllComponentsLoaded () override | 
| utils::statistics::Storage & | GetStorage () | 
| const utils::statistics::Storage & | GetStorage () const | 
| utils::statistics::MetricsStoragePtr | GetMetricsStorage () | 
Static Public Member Functions | |
| static yaml_config::Schema | GetStaticConfigSchema () | 
Static Public Attributes | |
| static constexpr std::string_view | kName = "statistics-storage" | 
| The default name of components::StatisticsStorage component.   | |
      
  | 
  inline | 
Definition at line 49 of file statistics_storage.hpp.
      
  | 
  inline | 
Definition at line 45 of file statistics_storage.hpp.
      
  | 
  inline | 
Definition at line 47 of file statistics_storage.hpp.