C++ Actor Framework 0.19
|
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 &x) const noexcept |
Related Functions | |
(Note that these are not member functions.) | |
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_:]*