Health Check
The/health endpoint provides a simple liveness check with no authentication required.
This endpoint is always accessible without authentication, making it ideal for load balancers and monitoring tools.
Readiness Check
The/ready endpoint checks all system components before accepting traffic.
System Status
Get comprehensive status of all components.Overall System Health
- Python SDK
- HTTP Client
- HTTP API
Component Status
Check individual component health.Queue Status
Monitor the processing queue:VikingDB Status
Check vector database health:VLM Status
Monitor Vision Language Model health:Response Time Monitoring
Every API response includes processing time in theX-Process-Time header.
Time is measured in seconds and represents server-side processing time only.
Kubernetes Integration
Configure health probes for Kubernetes deployments:1
Liveness Probe
Uses
/health to check if the container is alive. Kubernetes restarts the pod if this fails.2
Readiness Probe
Uses
/ready to check if the service is ready to accept traffic. Kubernetes removes the pod from service endpoints if this fails.Monitoring Best Practices
Set Up Alerts
Set Up Alerts
Configure alerts for component health:
Monitor Processing Queue
Monitor Processing Queue
Track Response Times
Track Response Times
Log System Metrics
Log System Metrics
Prometheus Integration
While OpenViking doesn’t expose Prometheus metrics directly, you can create a simple exporter:prometheus.yml:
Troubleshooting
Component Unhealthy
Component Unhealthy
Symptom:
is_healthy: false for a componentSolutions:- Check component logs
- Verify configuration (API keys, endpoints)
- Test network connectivity
- Restart the service
High Queue Size
High Queue Size
Symptom: Processing queue grows without clearingSolutions:
- Increase embedding concurrency:
- Check VLM rate limits
- Scale horizontally with more workers
Slow Response Times
Slow Response Times
Symptom:
X-Process-Time > 1 secondSolutions:- Check vector database performance
- Optimize search parameters (limit, threshold)
- Use local storage for better latency
- Enable caching
Related Resources
Deployment
Server deployment and configuration
Configuration
System configuration reference
Python SDK
Client health check methods
CLI Usage
CLI monitoring commands
