Added hostname mount to node-exporter
parent
7f003b4a21
commit
a2ab464d50
|
@ -79,6 +79,8 @@ services:
|
||||||
- '/proc:/host/proc:ro'
|
- '/proc:/host/proc:ro'
|
||||||
- '/sys:/host/sys:ro'
|
- '/sys:/host/sys:ro'
|
||||||
- '/:/rootfs:ro'
|
- '/:/rootfs:ro'
|
||||||
|
# Hopefully causes node-exporter to show the correct hostname
|
||||||
|
- '/etc/hostname:/etc/hostname:ro'
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
prometheus_v6:
|
prometheus_v6:
|
||||||
|
|
Loading…
Reference in New Issue