Adds snapshot() and batch helpers across network discovery/stack/transport, encoding-wire, observability, routing-advanced, supercomputer, state-crdts, scheduling-queues, and session-bridge modules. Co-authored-by: Cursor <[email protected]>
hyper-p2p-health-probe
Gossip health reports: ok flag, RTT, and custom fields per peer.
Category: Observability
Composes with: hyper-p2p-log-gossip, hyper-p2p-intent-router
Protocol: health-probe/v1
When to use
Mesh liveness dashboards and routing guards on shared topics.
When not to use
Deep APM (use trace/metrics modules instead).
Quick start
const { HyperP2PHealthProbe } = require('hyper-p2p-health-probe')
const probe = new HyperP2PHealthProbe({ topic: 'health-mesh' })
await probe.ready()
probe.report('peer-abc', { ok: true, rttMs: 12 })
console.log(probe.healthyPeers())
await probe.close()
Docs
Test
npm install && npm test