Docker Containers
Code-Guardian LLM Spend
Daily token volume per host (ground-truth signal โ cost may be $0 on subscription plans) no dataLoading spend dataโฆ
AWS EC2 Monitoring Dashboard
No servers configured. Click "Add Server" to get started.
No Docker containers found. Make sure Docker socket is mounted.
Bearer tokens for the read-only /api/v1/ external API. A token is shown only once at creation โ store it securely.
# List servers with latest metrics
curl -H "Authorization: Bearer <token>" https://your-host/api/v1/servers
# Server history (last 24 h, hourly)
curl -H "Authorization: Bearer <token>" "https://your-host/api/v1/servers/<id>/history?hours=24"
# Server history (last 7 days, default)
curl -H "Authorization: Bearer <token>" https://your-host/api/v1/servers/<id>/history
# Health probe (no auth)
curl https://your-host/api/v1/health
Based on p95 utilisation. Recommendations appear after 5 days of data collection.
Email notifications will be sent for urgent issues only:
Not sent: Warning and Heavily Loaded states (visible in dashboard only)
Note: You won't receive duplicate alerts for the same issue within 1 hour.
| SMTP Host: | - |
| SMTP Port: | - |
| From Address: | - |
| Alert To: | - |
To enable email alerts, add these environment variables to your .env file:
# SMTP Server Settings SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_SECURE=false SMTP_USER=your-email@gmail.com SMTP_PASS=your-app-password # Email Addresses SMTP_FROM=Server Monitor <your-email@gmail.com> ALERT_EMAIL_TO=alerts@yourdomain.com # Multiple recipients (comma-separated) # ALERT_EMAIL_TO=admin@example.com,ops@example.com,alerts@example.com
After updating your .env file, restart the container with:
docker compose restart server-monitor