Glances [Flux] 2025
A Glances dashboard to monitor docker environment for Glances + InfluxDB2.x + Flux
What does it do?
Displays data collected using Glances.
Some of the data displayed in the dashboard:
- System info
- Mount point storage used
- Disk IO
- Sensors temperatures
- Comprehensive table showing all containers memory usage
- Individual tables for each container showing memory and cpu usage
Supports easily changing the data bucket, host and sensors. 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?
- If you don’t have one yet, deploy a new 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=nicolargo **or whatever org you have setup with InfluxDB and Grafana** bucket=glances **or the name of the new bucket you just created** token=**your token from your new bucket in InfluxDB**
- Start Glances with the export flag:
glances --export influxdb2
- Import this Dashboard in Grafana.
- If you don’t see data ensure you have selected the right bucket and host from the dropdowns.
Credits
Credit goes to nicolargo, creator of Glances for the original dashboard: https://grafana.com/grafana/dashboards/2387-glances-for-flux/
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |