|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One metric observation delivered to the installed MetricSink. More...
#include <observability.hpp>
Public Attributes | |
| Metric | metric |
| Which metric this observation is for. | |
| double | value |
| The observed value (a duration, a count, or a gauge level). | |
| std::span< const std::pair< std::string_view, std::string_view > > | tags |
| Dimensions for this observation (e.g. modelType, actionType, outcome), without baking them into Metric itself. Empty for metrics that carry no dimensions. | |
One metric observation delivered to the installed MetricSink.
Definition at line 42 of file observability.hpp.
| Metric morph::observe::MetricEvent::metric |
Which metric this observation is for.
Definition at line 44 of file observability.hpp.
| double morph::observe::MetricEvent::value |
The observed value (a duration, a count, or a gauge level).
Definition at line 46 of file observability.hpp.
| std::span<const std::pair<std::string_view, std::string_view> > morph::observe::MetricEvent::tags |
Dimensions for this observation (e.g. modelType, actionType, outcome), without baking them into Metric itself. Empty for metrics that carry no dimensions.
Definition at line 50 of file observability.hpp.