aboutsummaryrefslogtreecommitdiffstats
path: root/csit/compose-grafana.yml
diff options
context:
space:
mode:
Diffstat (limited to 'csit/compose-grafana.yml')
-rw-r--r--csit/compose-grafana.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/csit/compose-grafana.yml b/csit/compose-grafana.yml
index 3d925eb7..1f8b4095 100644
--- a/csit/compose-grafana.yml
+++ b/csit/compose-grafana.yml
@@ -261,3 +261,18 @@ services:
- ./metrics/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
- ./metrics/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
- ./metrics/dashboards:/var/lib/grafana/dashboards
+ node-exporter:
+ image: prom/node-exporter:latest
+ container_name: node-exporter
+ restart: unless-stopped
+ volumes:
+ - /proc:/host/proc:ro
+ - /sys:/host/sys:ro
+ - /:/rootfs:ro
+ command:
+ - '--path.procfs=/host/proc'
+ - '--path.rootfs=/rootfs'
+ - '--path.sysfs=/host/sys'
+ - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
+ expose:
+ - 9100