Skip to content
Snippets Groups Projects
Commit 40d9924d authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-767: Run the node-exporter on the host to be able to expose more host metrics

parent 54d110a8
No related branches found
No related tags found
1 merge request!316Resolve L2SS-767 "Add node exporter"
......@@ -15,8 +15,7 @@ services:
options:
max-size: "100m"
max-file: "10"
networks:
- control
network_mode: host # run on the host to be able to access host network statistics
logging:
driver: syslog
options:
......
......@@ -23,6 +23,8 @@ services:
max-file: "10"
networks:
- control
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- prometheus-data:/prometheus
ports:
......
......@@ -13,4 +13,4 @@ scrape_configs:
scrape_interval: 60s
static_configs:
- targets:
- "prometheus-node-exporter:9100"
- "host.docker.internal:9100"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment