Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::utils::MetricsTimer Class Reference

#include <PrometheusRegistry.hpp>

Public Member Functions

 MetricsTimer (const std::string &name, const std::string &labels)
 
 ~MetricsTimer ()
 

Private Attributes

std::string name_
 
std::string labels_
 
std::chrono::time_point< std::chrono::high_resolution_clock > start_
 

Constructor & Destructor Documentation

◆ MetricsTimer()

orbit::utils::MetricsTimer::MetricsTimer ( const std::string &  name,
const std::string &  labels 
)
inline

◆ ~MetricsTimer()

orbit::utils::MetricsTimer::~MetricsTimer ( )
inline

Member Data Documentation

◆ labels_

std::string orbit::utils::MetricsTimer::labels_
private

◆ name_

std::string orbit::utils::MetricsTimer::name_
private

◆ start_

std::chrono::time_point<std::chrono::high_resolution_clock> orbit::utils::MetricsTimer::start_
private

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