2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 22:48:42 +00:00
Files
2026-06-04 12:12:54 +03:00

16 lines
622 B
C#

using Esiur.Resource;
/// <summary>
/// Server-side telemetry resource the sweep orchestrator attaches to (sys/control). The server
/// updates these once per second; the updates propagate to the orchestrator so it can attribute
/// fan-out saturation to the server (CPU across all cores, can exceed 100%) and confirm the
/// connected-subscriber count. Exported as fields so the runtime generates change-notifying
/// properties (CpuPercent, ConnectedClients).
/// </summary>
[Resource]
public partial class ControlResource : Resource
{
[Export] public double cpuPercent;
[Export] public int connectedClients;
}