Monitoring & Observability
The CLI provides comprehensive visibility into your Apito infrastructure with enhanced status monitoring and comprehensive logging.
Enhanced Status Monitoring
The CLI now provides comprehensive visibility into your Apito infrastructure:
- Service Status: Monitor engine and console service health
- Database Status: Real-time database container status monitoring
- Automatic Detection: Database status automatically displayed when available
- Docker Integration: Seamless integration with Docker container management
Comprehensive Logging System
Access logs for all components with powerful filtering and real-time capabilities:
- Service Logs: Engine and console application logs
- Database Logs: Database container logs with engine-specific formatting
- Real-time Following: Follow logs as they happen for live debugging
- Tail Control: View specific numbers of log lines for focused analysis
- Multi-mode Support: Works in both Docker and local service modes
Monitoring Commands
# Check overall system health
apito status
# Monitor specific services
apito status engine
apito status console
# View real-time logs
apito logs --db system --follow
apito logs engine --follow
# Analyze recent activity
apito logs --db project --tail 100
apito logs console --tail 50
Use Cases
- Development Debugging: Follow logs in real-time during development
- Production Monitoring: Check service health and database status
- Troubleshooting: Analyze recent logs for error investigation
- Performance Analysis: Monitor database and service performance
- Deployment Verification: Confirm services are running correctly after deployment
For detailed command usage, see: