Add public monitoring system for API latency tracking #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a comprehensive public monitoring system to track API latency and service availability across Deep Assistant infrastructure, addressing issue #18.
What's Included
monitoring.mjs): Node.js-based service that periodically checks endpoints and measures latencystatus.html): Beautiful, responsive web interface for real-time status visualizationMONITORING.md): Full setup and deployment guidemonitoring.test.mjs): Automated tests to verify functionalityFeatures
✅ Tracks minimum API latency (ping and HTTP endpoint checks)
✅ Monitors service availability and uptime percentage
✅ Records historical data (24 hours of metrics)
✅ Real-time status dashboard with auto-refresh
✅ Configurable check intervals and service endpoints
✅ Multiple deployment options (standalone, GitHub Actions, static hosting)
Monitored Metrics
For each service, the system tracks:
Services Monitored
Deployment Options
Usage
Documentation
Testing
All tests pass successfully:
Next Steps
Once merged, the GitHub Actions workflow will automatically start monitoring services every 5 minutes and updating the public status page.
Fixes #18
🤖 Generated with Claude Code