|
C++ Actor Framework 1.0.0
|
State for scraping Metrics data. More...
#include <prometheus.hpp>
Public Types | |
| using | clock_type = std::chrono::steady_clock |
| using | time_point = clock_type::time_point |
| using | duration = clock_type::duration |
Public Member Functions | |
| std::string_view | scrape () |
| scrape_state (telemetry::metric_registry *ptr, timespan proc_import_interval) | |
Public Attributes | |
| telemetry::metric_registry * | registry |
| std::chrono::steady_clock::time_point | last_scrape |
| timespan | proc_import_interval |
| telemetry::importer::process | proc_importer |
| telemetry::collector::prometheus | collector |
State for scraping Metrics data.
May be shared among scrapers as long as they don't access the state concurrently.