14 KiB
@suaveplan/network-plugin-monitor - Production monitoring + distributed tracing for the Suaveplan mesh: metric collector, alert engine, network tracer, historical store, adaptive sampler
Summary
Production monitoring + distributed tracing for the Suaveplan mesh. Collects metrics across four categories (node / connection / message / hierarchy), supports the four standard metric types (Counter / Gauge / Histogram / Summary) with both push and pull collection, raises threshold-based monitor:alert bus events with cooldown suppression, propagates OpenTelemetry-compatible trace ids across mesh hops with four sampling strategies (probabilistic / rate-limited / error-based / priority-based) plus clock-skew detection and correction, retains rolled-up history per metric, and adapts sampling rate downward under high metric volume so monitoring overhead never degrades the network it observes. Wrapped in a single MonitorPlugin satisfying the NetworkPlugin lifecycle.
Documentation tree
- alert — (no submodules)
- alert-engine — (no submodules)
- collector — (no submodules)
- metric-collector — (no submodules)
- grafana — (no submodules)
- dashboard-generator — (no submodules)
- history — (no submodules)
- historical-data-store — (no submodules)
- monitor — (no submodules)
- network-monitor — (no submodules)
- plugin — (no submodules)
- monitor-plugin — (no submodules)
- prometheus — (no submodules)
- prometheus-exposition — (no submodules)
- bandwidth-monitor —
BandwidthMonitorrecords per-link bandwidth / RTT / packet-loss measurements into a bounded ring buffer and exposes s… - degradation-manager —
DegradationManageris a 4-rung quality classifier that decides the currentQualityLevel(HIGH/MEDIUM/LOW/`MIN… - quality-middleware —
createQualityMiddlewarebuilds an outgoing-message gate that drops or forwards each message based on the current `Qua… - quality-types — Shared type definitions for the quality-class classification + adaptive degradation feature group. These types underpin…
- sampler — (no submodules)
- adaptive-sampler — (no submodules)
- tracer — (no submodules)
- network-tracer — (no submodules)
- error-codes — Frozen registry of every error code raised by the monitor package. Codes are namespaced under
NET_MONand registered…
- degradation-manager —
DegradationManageris a 4-rung quality classifier that decides the currentQualityLevel(HIGH/MEDIUM/LOW/`MIN… - quality-middleware —
createQualityMiddlewarebuilds an outgoing-message gate that drops or forwards each message based on the current `Qua… - quality-types — Shared type definitions for the quality-class classification + adaptive degradation feature group. These types underpin…
- sampler — (no submodules)- adaptive-sampler — (no submodules)- tracer — (no submodules)- network-tracer — (no submodules)- error-codes — Frozen registry of every error code raised by the monitor package. Codes are namespaced under
NET_MONand registered… - alert-engine — (no submodules)- collector — (no submodules)- metric-collector — (no submodules)- grafana — (no submodules)- dashboard-generator — (no submodules)- history — (no submodules)- historical-data-store — (no submodules)- monitor — (no submodules)- network-monitor — (no submodules)- plugin — (no submodules)- monitor-plugin — (no submodules)- prometheus — (no submodules)- prometheus-exposition — (no submodules)- bandwidth-monitor —
BandwidthMonitorrecords per-link bandwidth / RTT / packet-loss measurements into a bounded ring buffer and exposes s… - degradation-manager —
DegradationManageris a 4-rung quality classifier that decides the currentQualityLevel(HIGH/MEDIUM/LOW/`MIN… - quality-middleware —
createQualityMiddlewarebuilds an outgoing-message gate that drops or forwards each message based on the current `Qua… - quality-types — Shared type definitions for the quality-class classification + adaptive degradation feature group. These types underpin…
- sampler — (no submodules)- adaptive-sampler — (no submodules)- tracer — (no submodules)- network-tracer — (no submodules)- error-codes — Frozen registry of every error code raised by the monitor package. Codes are namespaced under
NET_MONand registered… - alert-engine — (no submodules)- collector — (no submodules)- metric-collector — (no submodules)- grafana — (no submodules)- dashboard-generator — (no submodules)- history — (no submodules)- historical-data-store — (no submodules)- monitor — (no submodules)- network-monitor — (no submodules)- plugin — (no submodules)- monitor-plugin — (no submodules)- prometheus — (no submodules)- prometheus-exposition — (no submodules)- bandwidth-monitor —
BandwidthMonitorrecords per-link bandwidth / RTT / packet-loss measurements into a bounded ring buffer and exposes s… - degradation-manager —
DegradationManageris a 4-rung quality classifier that decides the currentQualityLevel(HIGH/MEDIUM/LOW/`MIN… - quality-middleware —
createQualityMiddlewarebuilds an outgoing-message gate that drops or forwards each message based on the current `Qua… - quality-types — Shared type definitions for the quality-class classification + adaptive degradation feature group. These types underpin…
- sampler — (no submodules)- adaptive-sampler — (no submodules)- tracer — (no submodules)- network-tracer — (no submodules)- error-codes — Frozen registry of every error code raised by the monitor package. Codes are namespaced under
NET_MONand registered… - alert-engine — (no submodules)- collector — (no submodules) - metric-collector — (no submodules)- grafana — (no submodules) - dashboard-generator — (no submodules)- history — (no submodules) - historical-data-store — (no submodules)- monitor — (no submodules) - network-monitor — (no submodules)- plugin — (no submodules) - monitor-plugin — (no submodules)- prometheus — (no submodules) - prometheus-exposition — (no submodules)- bandwidth-monitor —
BandwidthMonitorrecords per-link bandwidth / RTT / packet-loss measurements into a bounded ring buffer and exposes s… - degradation-manager —
DegradationManageris a 4-rung quality classifier that decides the currentQualityLevel(HIGH/MEDIUM/LOW/`MIN… - quality-middleware —
createQualityMiddlewarebuilds an outgoing-message gate that drops or forwards each message based on the current `Qua… - quality-types — Shared type definitions for the quality-class classification + adaptive degradation feature group. These types underpin…
- sampler — (no submodules) - adaptive-sampler — (no submodules)- tracer — (no submodules) - network-tracer — (no submodules)- error-codes — Frozen registry of every error code raised by the monitor package. Codes are namespaced under
NET_MONand registered…