|
ORE Studio 0.0.4
|
Fire-and-forget heartbeat published by every domain service. More...
#include <service_samples_protocol.hpp>

Public Attributes | |
| 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"). | |
Static Public Attributes | |
| static constexpr std::string_view | nats_subject |
Fire-and-forget heartbeat published by every domain service.
Each service embeds a heartbeat_publisher that fires every 15 seconds and publishes this message to telemetry.v1.services.heartbeat. The telemetry service subscribes, timestamps the receipt, and persists a service_sample row to ores_telemetry_service_samples_tbl.
There is no response type — this is a one-way publish, not a request.
|
staticconstexpr |
| std::string instance_id |
Per-process UUID, generated once at service startup.
Allows distinguishing multiple instances of the same service.