C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::prometheus::scrape_state Class Reference

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_registryregistry
 
std::chrono::steady_clock::time_point last_scrape
 
timespan proc_import_interval
 
telemetry::importer::process proc_importer
 
telemetry::collector::prometheus collector
 

Detailed Description

State for scraping Metrics data.

May be shared among scrapers as long as they don't access the state concurrently.


The documentation for this class was generated from the following files: