Add manual helpers across connection pool release/close, health probe clear and peer listing, quorum and distributed lock bulk operations, session rotation revoke-all, reputation peer reset, flow shaper flush, circuit breaker reset-all, RPC unregister and pending count, seeder registry topic management, activity queue clear, semantic vector remove, core priority fetch pending clear, trust gate untrust-all, and process spawn kill-all. 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