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