Kagome
Polkadot Runtime Engine in C++17
|
an interface to add request handler for metrics::Exposer implementation generally will contain metrics serializer More...
#include <handler.hpp>
Public Member Functions | |
virtual | ~Handler ()=default |
virtual void | registerCollectable (Registry ®istry)=0 |
registers general type metrics registry for metrics collection More... | |
virtual void | onSessionRequest (Session::Request request, std::shared_ptr< Session > session)=0 |
main interface for session request handling More... | |
an interface to add request handler for metrics::Exposer implementation generally will contain metrics serializer
Definition at line 22 of file handler.hpp.
|
virtualdefault |
|
pure virtual |
main interface for session request handling
Implemented in kagome::metrics::PrometheusHandler.
|
pure virtual |
registers general type metrics registry for metrics collection
Implemented in kagome::metrics::PrometheusHandler.