|
C++ Actor Framework 0.18
|
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 (string_view name, string_view value) | |
| label (const label_view &view) | |
| string_view | name () const noexcept |
| string_view | value () const noexcept |
| void | value (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 | ( | string_view | name, |
| string_view | value | ||
| ) |
name matches the regex [a-zA-Z_:][a-zA-Z0-9_:]*