Skip to content

Add status monitor component with visual indicators for anchor endpoi…#151

Merged
Haroldwonder merged 7 commits intoHaroldwonder:mainfrom
soma-enyi:status-monitor
Feb 25, 2026
Merged

Add status monitor component with visual indicators for anchor endpoi…#151
Haroldwonder merged 7 commits intoHaroldwonder:mainfrom
soma-enyi:status-monitor

Conversation

@soma-enyi
Copy link
Contributor

Closes #103

Status Monitor Component for Anchor Endpoint Health

Overview

Added a visual monitoring dashboard to track anchor service reliability in real
-time with color-coded status indicators.

Features

  • Visual Status Indicators: 🟢 Online, 🟡 Degraded, 🔴 Offline
  • Endpoint Monitoring: Tracks /info, /auth, and /transactions endpoints
  • Auto-refresh: Checks endpoint health every 30 seconds
  • Configurable: Adjustable base URL for different anchor services
  • Timestamps: Shows last check time for each endpoint

Implementation

  • status-monitor.html: Standalone web component with embedded JavaScript
  • mock-server.py: Test server for local development and testing

Status Logic

  • 🟢 Online: HTTP 200-299 responses
  • 🟡 Degraded: Timeouts (>5s) or HTTP 400-499 errors
  • 🔴 Offline: Network failures or HTTP 500+ errors

Usage

bash

Start mock server (for testing)

python3 mock-server.py

Serve status monitor

python3 -m http.server 8000

Open http://localhost:8000/status-monitor.html

Benefits

  • Quick visual assessment of anchor service health
  • Early detection of degraded performance
  • Simplified debugging and monitoring workflow

@Haroldwonder Haroldwonder merged commit 6a9df51 into Haroldwonder:main Feb 25, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Anchor Health Status Indicator

2 participants