Glances [Flux] 2025
v2.0 Glances Grafana Dashboard with a Focus on Docker Container Monitoring
Displays system monitoring data collected using Glances in a Grafana dashboard with a focus on docker containers.
Some of the data displayed:
- System info
- Mount point storage used
- Disk IO
- Sensor temperatures
- Comprehensive tables showing all containers memory and CPU usage
- Individual tables for each container showing memory and CPU usage
Supports easily changing the data bucket, host, selected containers, network interface, disk and temperature sensor. Data is sourced from InfluxDB 2.x using Flux.
Requirements:
For best results you will need:
- Docker environment with your containers you want to monitor
- Glances container
- InfluxDB 2.x container
- Grafana container, configured to use Flux query language with InfluxDB
How to use it?
- Deploy 3 docker containers: InfluxDB, Glances, Grafana.
- Setup InfluxDB 2.x server and create a new bucket for glances.
- Configure your glances.conf file to export data to InfluxDB, this is what the default looks like:
[influxdb2] host=localhost port=8086 protocol=http org=PUT_YOUR_ORG_NAME_HERE bucket=PUT_YOUR_BUCKET_NAME_HERE token=PUT_YOUR_INFLUXDB2_TOKEN_HERE - Start Glances with the export flag:
glances --export influxdb2 - Open Grafana webui, and navigate to the add a new dashboard. Either copy the dashboard directly from here, or import from grafana.com.
- If you don’t see data displayed, ensure you have selected the right bucket and host from the dropdowns.
Versions
Latest release v2.0 tested with:
- Glances 4.4.1
- InfluxDB 2.8.0
- Grafana 12.3.1
Credits
Credit to nicolargo, the creator of Glances, for the original dashboard: https://grafana.com/grafana/dashboards/2387-glances-for-flux/
Source
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |
