An experimental API for gathering Linux server / Docker Engine metrics.
This will be used in coolify.io.
- CPU usage
- Memory usage
- Disk usage
- CPU usage
- Memory usage
- Network usage
Start as a container:
docker run -d -v ./logs:/app/logs -v ./metrics:/app/metrics -v /var/run/docker.sock:/var/run/docker.sock --pid host --name sentinel ghcr.io/coollabsio/sentinel:latest
# You can expose port 8888 to access the API
# By default, the API is only available in the container, so you need docker exec to access it.
GET /api/cpu
- Get CPU usage.GET /api/memory
- Get memory usage.GET /api/disk
- Get disk usage.
GET /api/containers
- Get all containers with metrics and labels.
- Able to save metrics to a database / filesystem in a time series format.
Apache 2.0