DECENT
Functions
Monitoring API

Functions

std::string graphene::app::monitoring_api::info () const
 Get the name of the API. More...
 
void graphene::app::monitoring_api::reset_counters (const std::vector< std::string > &names)
 Reset persistent monitoring counters by names. It has not impact on non-persistent counters. More...
 
std::vector< monitoring::counter_item > graphene::app::monitoring_api::get_counters (const std::vector< std::string > &names) const
 Retrieves monitoring counters by names. More...
 

Detailed Description

Function Documentation

std::vector< counter_item > graphene::app::monitoring_api::get_counters ( const std::vector< std::string > &  names) const

Retrieves monitoring counters by names.

Parameters
namesCounter names. Pass epmty vector to retrieve all counters.
Returns
vector of monitoring counters

Definition at line 539 of file api.cpp.

std::string graphene::app::monitoring_api::info ( ) const

Get the name of the API.

Returns
the name of the API

Definition at line 529 of file api.cpp.

void graphene::app::monitoring_api::reset_counters ( const std::vector< std::string > &  names)

Reset persistent monitoring counters by names. It has not impact on non-persistent counters.

Parameters
namesCounter names. Pass empty vector to reset all counters.

Definition at line 534 of file api.cpp.