Add a unified observability interface for applications with multiple networks
🧪 Test / test (push) Successful in 6m9s

This commit is contained in:
2026-05-10 19:08:40 +02:00
parent 278c122e8f
commit 1e9ba5ee66
9 changed files with 660 additions and 17 deletions
+9
View File
@@ -134,6 +134,15 @@ struct NodeSnapshot {
double cpu_util_pct; // exec_ms / (exec_ms + blocked_ms) * 100
};
// ── Cross-network snapshot (used by DebugHub) ─────────────────────────────────
struct NetworkSnapshot {
std::string name;
std::vector<NodeSnapshot> nodes;
std::vector<ChannelSnapshot> channels;
double elapsed_s;
};
// ── Resource statistics + snapshot ───────────────────────────────────────────
struct ResourceSnapshot {