6 #ifndef KAGOME_CORE_METRICS_IMPL_EXPOSER_IMPL_HPP 7 #define KAGOME_CORE_METRICS_IMPL_EXPOSER_IMPL_HPP 18 public std::enable_shared_from_this<ExposerImpl> {
23 const std::shared_ptr<application::AppStateManager> &app_state_manager,
30 bool start()
override;
49 #endif // KAGOME_CORE_METRICS_IMPL_EXPOSER_IMPL_HPP std::shared_ptr< std::thread > thread_
std::unique_ptr< Acceptor > acceptor_
bool start() override
start interface for AppStateManager
std::shared_ptr< Session > new_session_
ExposerImpl(const std::shared_ptr< application::AppStateManager > &app_state_manager, Exposer::Configuration exposer_config, Session::Configuration session_config)
const Session::Configuration session_config_
~ExposerImpl() override=default
std::shared_ptr< soralog::Logger > Logger
const Configuration config_
bool prepare() override
prepare interface for AppStateManager
void stop() override
stop interface for AppStateManager
an http server interface to expose metrics on request with custom request handler ...
std::shared_ptr< Context > context_