Seastar
High performance C++ framework for concurrent servers
|
Public Member Functions | |
registered_metric (metric_id id, metric_function f, bool enabled=true, skip_when_empty skip=skip_when_empty::no) | |
metric_value | operator() () const |
bool | is_enabled () const |
void | set_enabled (bool b) |
void | set_skip_when_empty (skip_when_empty skip) noexcept |
const metric_id & | get_id () const |
const metric_info & | info () const |
metric_info & | info () |
const metric_function & | get_function () const |