#include <handler_impl.hpp>
|
static void | cleanupStalePointers (std::vector< std::weak_ptr< prometheus::Collectable >> &collectables) |
|
Definition at line 19 of file handler_impl.hpp.
kagome::metrics::PrometheusHandler::PrometheusHandler |
( |
| ) |
|
|
explicit |
kagome::metrics::PrometheusHandler::~PrometheusHandler |
( |
| ) |
|
|
overridedefault |
void kagome::metrics::PrometheusHandler::cleanupStalePointers |
( |
std::vector< std::weak_ptr< prometheus::Collectable >> & |
collectables | ) |
|
|
staticprivate |
void kagome::metrics::PrometheusHandler::onSessionRequest |
( |
Session::Request |
request, |
|
|
std::shared_ptr< Session > |
session |
|
) |
| |
|
overridevirtual |
void kagome::metrics::PrometheusHandler::registerCollectable |
( |
Registry & |
registry | ) |
|
|
overridevirtual |
void kagome::metrics::PrometheusHandler::registerCollectable |
( |
const std::weak_ptr< prometheus::Collectable > & |
collectable | ) |
|
|
private |
void kagome::metrics::PrometheusHandler::removeCollectable |
( |
const std::weak_ptr< prometheus::Collectable > & |
collectable | ) |
|
|
private |
std::size_t kagome::metrics::PrometheusHandler::writeResponse |
( |
std::shared_ptr< Session > |
session, |
|
|
Session::Request |
request, |
|
|
const std::string & |
body |
|
) |
| |
|
private |
std::vector<std::weak_ptr<prometheus::Collectable> > kagome::metrics::PrometheusHandler::collectables_ |
|
private |
std::mutex kagome::metrics::PrometheusHandler::collectables_mutex_ |
|
private |
log::Logger kagome::metrics::PrometheusHandler::logger_ |
|
private |
The documentation for this class was generated from the following files: