Skip to main content

fleet-health-monitor — Fleet Health Daemon

Continuous health monitoring across the fleet. Node health tracking, threshold alerting, watchdog timers, live dashboards.

What This Gives You

  • Node health tracking — per-agent health status (HEALTHY, DEGRADED, UNHEALTHY, OFFLINE)
  • Threshold configuration — configurable alert thresholds for response time, error rate, uptime
  • Watchdog timers — detect stuck or unresponsive agents
  • Fleet aggregation — roll up individual node health into fleet-wide status
  • Live dashboard — real-time fleet health visualization

Quick Start

pip install fleet-health-monitor
from fleet_health_monitor import FleetHealth, NodeHealth, Watchdog, ThresholdConfig

# Configure thresholds
thresholds = ThresholdConfig(
    max_response_time_ms=5000,
    max_error_rate=0.1,
    min_uptime_pct=99.0,
)

# Track node health
fleet = FleetHealth()
fleet.register(NodeHealth(agent_id="agent-1", thresholds=thresholds))
fleet.register(NodeHealth(agent_id="agent-2", thresholds=thresholds))

# Record metrics
fleet.record("agent-1", response_time_ms=120, success=True)
fleet.record("agent-2", response_time_ms=8500, success=False)

# Check fleet status
status = fleet.status()
print(status.healthy)    # 1
print(status.degraded)   # 1
print(status.overall)    # DEGRADED

# Start watchdog
watchdog = Watchdog(fleet=fleet, check_interval_seconds=30)
watchdog.start()

API Reference

NodeHealth(agent_id, thresholds) — record(response_time_ms, success), status

HealthStatus — HEALTHY, DEGRADED, UNHEALTHY, OFFLINE

ThresholdConfig — max_response_time_ms, max_error_rate, min_uptime_pct

FleetHealth — register(node), record(agent_id, ...), status() → FleetStatus

Watchdog(fleet, check_interval_seconds) — Continuous monitoring loop

FleetDashboard — Real-time visualization

How It Fits

The system-level health daemon for the SuperInstance fleet. Complements agent-therapy (behavioral health) with infrastructure-level monitoring.

Testing

pytest tests/

Installation

pip install fleet-health-monitor

Python 3.10+. MIT license.

Metadata

Release files for si-fleet-health-monitor 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for si-fleet-health-monitor 0.1.0
File Size Uploaded Provenance Actions
si_fleet_health_monitor-0.1.0.tar.gz 23.2 kB Without provenance Details for si_fleet_health_monitor-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for si-fleet-health-monitor 0.1.0
File Interpreter ABI Platform Actions
si_fleet_health_monitor-0.1.0-py3-none-any.whl Python 3 none any Details for si_fleet_health_monitor-0.1.0-py3-none-any.whl

Total release size: 32.7 kB

Release files / si_fleet_health_monitor-0.1.0.tar.gz

Download URL si_fleet_health_monitor-0.1.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ca1a9c08229a8d5f834d4643a4a5b85bfbf046461e0526f3d2644e3fd2537ca2
BLAKE2b-256 checksum
How to use checksums
992895a4e67c26ee9dd06016194e8220f1d86e72258489c97a2980ef0636a0fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / si_fleet_health_monitor-0.1.0-py3-none-any.whl

Download URL si_fleet_health_monitor-0.1.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeeb8f603589bd5b3c9a1212268ecb57e6ade1c1b3635f69e2641dab16642bac
BLAKE2b-256 checksum
How to use checksums
c6ef748630b30bc9884575ef912c8ba26ab7d0ee8d48b2e64e121692eb72df4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for si-fleet-health-monitor 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page