summaryrefslogtreecommitdiffstats
path: root/csit/compose-grafana.yml
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2022-06-16 09:21:46 +0100
committeradheli.tavares <adheli.tavares@est.tech>2022-06-22 09:17:08 +0100
commit1c98f1f3b837f93562c69c869b6b8ca33f766079 (patch)
treeccfb993412c4086942d3f888930d9207d6ed05c0 /csit/compose-grafana.yml
parent0af40015d73624bc32074e3d37ee1e27e125d498 (diff)
SLA dashboard added to grafana setup
Issue-ID: POLICY-4163 Change-Id: I2b996ff519f0b8f0207589ec4f1f629c79b614c0 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
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