🩺 Service Health Check
**Comprehensive health check for the Experience Booking Service**
This endpoint provides detailed information about the service health, provider status, and system metrics.
## 🔍 **Health Check Includes**
### **Service Status**
- ✅ **Overall Health** - Service operational status
- 📊 **System Metrics** - Memory usage, CPU statistics, uptime
- 🌍 **Environment Info** - Current deployment environment
- ⚡ **Performance** - Response times and resource utilization
### **Provider Health**
- 🔗 **Headout** - Integration status and connectivity
- 🎭 **Experience Providers** - Platform integration health
- 🔄 **Fallback Status** - Multi-provider redundancy status
### **Infrastructure Dependencies**
- 🗄️ **Database** - PostgreSQL connection status
- ⚡ **Cache** - Redis cache connectivity
- 📨 **Message Queue** - Kafka broker status
- 🔐 **Authentication** - Auth service connectivity
## 🚨 **Status Indicators**
- **🟢 healthy** - All systems operational
- **🟡 degraded** - Some non-critical issues detected
- **🔴 unhealthy** - Critical issues requiring attention
- **⚫ maintenance** - Planned maintenance mode
## 📊 **Monitoring Integration**
This endpoint is designed for:
- **Health Check Probes** - Kubernetes/Docker health checks
- **Load Balancer** - Backend health verification
- **Monitoring Systems** - Prometheus, Grafana, DataDog
- **Alerting** - PagerDuty, Slack notifications
- **SLA Tracking** - Uptime and availability metrics
## 🔗 **Related Endpoints**
- **Provider Health**: `GET /providers/health` - Detailed provider status
- **System Metrics**: `GET /management/{experienceId}/analytics` - Business metrics
- **Performance**: Response time tracking in all endpoints
Authentication
AuthorizationBearer
JWT token from @etera-ai/auth package (auth.etera.dev) - Format: Bearer <token>
Response
✅ Service is healthy and operational
status
Overall service health status
Allowed values:
service
Service identifier
version
Current service version
timestamp
Health check timestamp
providers
Booking provider status
uptime
Service uptime in seconds
environment
Deployment environment
system
System performance metrics
dependencies
External dependency status
