Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::concepts::FullMetricEvent Concept Referenceexport

A complete metric event with timestamp. More...

#include <event.h>

Concept definition

template<typename T>
A complete metric event with timestamp.
Definition event.h:235
An event type representing a metric measurement.
Definition event.h:176
An event type that includes a timestamp.
Definition event.h:113

Detailed Description

A complete metric event with timestamp.

This concept combines metric requirements with timing information for time-series metric collection.

Example usage:

template<FullMetricEvent E>
void publish_metric(const E& event) {
time_series.add(event.name, event.value, event.timestamp);
}

Definition at line 235 of file event.h.