How do I check if status.go is running correctly?
Health Check Methods
There are several ways to verify that the status.go service is functioning properly:
Method 1: API Health Check
curl -X GET http://localhost:3001/api/v1/services/status/health
Expected response:
{
"status": "healthy",
"timestamp": "2026-02-19T22:55:00Z",
"services_count": 5,
"uptime": "99.99%"
}
Method 2: Status Page Overview
curl -X GET http://localhost:3001/api/v1/status-pages/public/your-status-page-id/status/overview
Method 3: Go Test Script
Use the provided test_status_overview.go script:
go run test_status_overview.go
Method 4: Docker Health Check
docker ps | grep status-service
docker logs status-service
Common Health Indicators
- ✅ API response time < 500ms
- ✅ All services showing "operational" status
- ✅ Uptime percentage > 99%
- ✅ No error logs in service logs