From d71497c175d56dad30ba4e70ca800eb4ebe4f69d Mon Sep 17 00:00:00 2001 From: Howie Zhao Date: Sun, 12 Jun 2022 05:11:27 +0800 Subject: [PATCH] docs: include storage load update instructions (#255) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 7f40a4a..a984fcc 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,22 @@ The Docker Containers Dashboard shows key metrics for monitoring running contain Note that this dashboard doesn't show the containers that are part of the monitoring stack. +For storage and particularly Storage Load graph, you have to specify the fstype in grafana graph request. +You can find it in `grafana/provisioning/dashboards/docker_containers.json`, at line 406 : + +```yaml +"expr": "(node_filesystem_size_bytes{fstype=\"btrfs\"} - node_filesystem_free_bytes{fstype=\"btrfs\"}) / node_filesystem_size_bytes{fstype=\"btrfs\"} * 100", +``` + +I work on BTRFS, so i need to change `aufs` to `btrfs`. + +You can find right value for your system in Prometheus `http://:9090` launching this request : + +```yaml +node_filesystem_size_bytes +node_filesystem_free_bytes +``` + ***Monitor Services Dashboard*** ![Monitor Services](https://raw.githubusercontent.com/stefanprodan/dockprom/master/screens/Grafana_Prometheus.png)