How kritisans25/devops-monitor works
devops-monitor is a web-based infrastructure and HTTP endpoint monitoring dashboard. Users add endpoints, which the backend registers and checks; scheduled checks and server sampling provide history and telemetry for overview and endpoint-detail views. The backend exposes these results through an API backed by MongoDB. The README gives no feature detail, so capability coverage follows the source index and sampled code; several component-to-component links are omitted where implementation excerpts do not show the relationship.
Main entry points: server.js HTTP routes · App.jsx App routing · apimonitorservices.js Endpoint checks · api.js API client
Components 21
Dashboard
- App routing
frontend/src/App.jsx - Landing page
frontend/src/pages/Landing.jsx - Infrastructure overview
frontend/src/pages/Overview.jsx - Endpoint directory
frontend/src/pages/Endpoints.jsx - Endpoint telemetry
frontend/src/pages/EndpointDetail.jsx - Container view
frontend/src/pages/Containers.jsx - Add endpoint form
frontend/src/components/AddEndpointModal.jsx - API client
frontend/src/api/api.js
Backend API
- HTTP routes
backend/server.js
Monitoring
- Server sampling
backend/services/monitoringServices.js - Endpoint checks
backend/services/apimonitorservices.js - Check scheduler
backend/services/apiScheduler.js - Uptime calculation
backend/services/uptimeservice.js
Persistence
- Check history
backend/models/apimonitor.js - Monitor registry
backend/models/MonitoredApi.js - Server metrics
backend/models/ServerMetrics.js - Database connection
backend/config/database.js
Other components
- Operator
- MongoDB
- Monitored host
- HTTP endpoints
Connections 25
- Operator → App routing: uses
- App routing → Landing page: routes
frontend/src/App.jsx - App routing → Infrastructure overview: routes
frontend/src/App.jsx - App routing → Endpoint directory: routes
frontend/src/App.jsx - App routing → Endpoint telemetry: routes
frontend/src/App.jsx - App routing → Container view: routes
frontend/src/App.jsx - Endpoint directory → Add endpoint form: renders
frontend/src/pages/Endpoints.jsx - Add endpoint form → API client: calls
frontend/src/components/AddEndpointModal.jsx - Infrastructure overview → API client: calls
frontend/src/pages/Overview.jsx - Endpoint telemetry → API client: calls
frontend/src/pages/EndpointDetail.jsx - API client → HTTP routes: requests
frontend/src/api/api.js - HTTP routes → Server sampling: starts sampling
backend/server.js - HTTP routes → Check scheduler: starts checks
backend/server.js - HTTP routes → Endpoint checks: checks endpoint
backend/server.js - HTTP routes → Uptime calculation: calculates uptime
backend/server.js - HTTP routes → Monitor registry: reads and writes
backend/server.js - HTTP routes → Check history: reads history
backend/server.js - Check scheduler → Endpoint checks: dispatches checks
backend/services/apiScheduler.js - Endpoint checks → Check history: writes results
backend/services/apimonitorservices.js - Uptime calculation → Check history: reads checks
backend/services/uptimeservice.js - HTTP routes → Server metrics: reads metrics
backend/server.js - HTTP routes → Database connection: connects database
backend/server.js - Database connection → MongoDB: connects
backend/config/database.js - Endpoint checks → HTTP endpoints: sends HTTP checks
backend/services/apimonitorservices.js - Server sampling → Monitored host: samples host