Component that keeps a utils::statistics::Storage storage for metrics.
More...
#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.
Static configuration example:
# yaml
statistics-storage:
# Nothing
- Examples
- samples/testsuite-support/src/metrics.cpp.
Definition at line 32 of file statistics_storage.hpp.
◆ GetMetricsStorage()
utils::statistics::MetricsStoragePtr components::StatisticsStorage::GetMetricsStorage |
( |
| ) |
|
|
inline |
◆ GetStorage() [1/2]
◆ GetStorage() [2/2]
The documentation for this class was generated from the following file: