6 #ifndef KAGOME_METRICS_METRICWATCHER 7 #define KAGOME_METRICS_METRICWATCHER 22 std::shared_ptr<application::AppStateManager> app_state_manager,
24 std::shared_ptr<application::ChainSpec> chain_spec);
45 #endif // KAGOME_METRICS_METRICWATCHER outcome::result< uintmax_t > measure_storage_size()
MetricsWatcher(std::shared_ptr< application::AppStateManager > app_state_manager, const application::AppConfiguration &app_config, std::shared_ptr< application::ChainSpec > chain_spec)
metrics::RegistryPtr metrics_registry_
std::unique_ptr< Registry > RegistryPtr
boost::filesystem::path storage_path_
metrics::Gauge * metric_storage_size_
volatile bool shutdown_requested_
A gauge metric to represent a value that can arbitrarily go up and down.