3#include <prometheus/exposer.h>
4#include <prometheus/registry.h>
17 std::vector<std::pair<uint64_t, std::shared_ptr<prometheus::Registry>>>
_vRegister;
34 std::shared_ptr<prometheus::Registry>
getRegistry(uint64_t regId);
std::shared_ptr< prometheus::Registry > createNewRegistry()
std::vector< std::pair< uint64_t, std::shared_ptr< prometheus::Registry > > > _vRegister
All tracker registries.
bool deleteRegistry(uint64_t regId)
std::shared_ptr< prometheus::Registry > getRegistry(uint64_t regId)
std::unique_ptr< prometheus::Exposer > _mainExposer
Main HTTP Server.
std::mutex _guardLock
Mutex for concurrent add tracker calls.
PrometheusServer(const std::string &serverAddr)
prometheus::Family< prometheus::Info > * _infoFamily
General application information.