C++ Actor Framework 1.0.0
|
An (immutable) key-value pair for adding extra dimensions to metrics. More...
#include <label.hpp>
Public Member Functions | |
label (label &&)=default | |
label (const label &)=default | |
label & | operator= (label &&)=default |
label & | operator= (const label &)=default |
label (std::string_view name, std::string_view value) | |
label (const label_view &view) | |
std::string_view | name () const noexcept |
std::string_view | value () const noexcept |
void | value (std::string_view new_value) |
const std::string & | str () const noexcept |
Returns the label in name=value notation. | |
int | compare (const label_view &other) const noexcept |
int | compare (const label &other) const noexcept |
Static Public Member Functions | |
template<class T1 , class T2 > | |
static int | compare (const T1 &lhs, const T2 &rhs) noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
CAF_CORE_EXPORT std::string | to_string (const label &x) |
Returns the label in name=value notation. | |
An (immutable) key-value pair for adding extra dimensions to metrics.
caf::telemetry::label::label | ( | std::string_view | name, |
std::string_view | value ) |
name
matches the regex [a-zA-Z_:][a-zA-Z0-9_:]*