Overview
Dockhand provides comprehensive monitoring capabilities for containers, images, and host systems. Track CPU, memory, network I/O, and disk usage in real-time with historical data retention and event tracking.Container Statistics
Real-Time Metrics
Fetch current statistics for any container:Metric Calculations
Dockhand calculates metrics using Docker’s standard formulas:CPU Percentage
Memory Usage
Docker-compatible memory calculation (subtracts cache):Network I/O
Block I/O
Streaming Statistics
Get continuous updates via Server-Sent Events:Bulk Statistics
Get stats for all containers in an environment:Host Metrics
System Statistics
Track host-level resource usage:Database Schema
Collection Settings
Configure metric collection per environment:Event Tracking
Container Events
Track container lifecycle events:Stack Events
Query Events
Dashboard Statistics
Overview Statistics
Get aggregated stats for the dashboard:Real-Time Dashboard Stream
Activity Tracking
Activity Log
Track user actions and system events:Activity Statistics
Performance Monitoring
Container Performance Trends
Track performance over time:Resource Usage Alerts
Configure alerts for resource thresholds:Health Monitoring
Container Health Status
Health Check Configuration
Query Unhealthy Containers
Metrics Retention
Retention Policies
Configure how long to keep metrics data:Cleanup Configuration
Integration Examples
Grafana Integration
Expose metrics for Grafana:Prometheus Export
Best Practices
Monitoring Strategy
- Enable metrics collection only on production environments
- Set appropriate retention periods based on disk space
- Use streaming endpoints for real-time dashboards
- Configure cleanup jobs to prevent database bloat
- Monitor the monitor - track Dockhand’s own resource usage
