|
ORE Studio 0.0.4
|
A single heartbeat received from a running domain service. More...
#include <service_sample.hpp>

Public Attributes | |
| std::chrono::system_clock::time_point | sampled_at |
| When this heartbeat was received by the telemetry service. | |
| std::string | service_name |
| Canonical service name (e.g. "ores.compute.service"). | |
| std::string | instance_id |
| Per-process UUID, generated once at service startup. | |
| std::string | version |
| Service version string (e.g. "1.0"). | |
A single heartbeat received from a running domain service.
Each domain service embeds a heartbeat_publisher that fires every 15 seconds. The telemetry service subscribes to the heartbeat subject and persists one row per heartbeat to ores_telemetry_service_samples_tbl.
sampled_at is set by the telemetry service at receipt time, so it reflects when the heartbeat arrived rather than when it was sent.
| std::string service_name |
Canonical service name (e.g. "ores.compute.service").
Matches the name passed to ores::service::service::run().
| std::string instance_id |
Per-process UUID, generated once at service startup.
Allows distinguishing multiple instances of the same service. Stored as a string in canonical UUID format.