mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-12 22:14:27 +00:00
fix(alloy): mount /run/udev for diskstats device properties
node-exporter's diskstats collector reads udev device properties from /run/udev/data; without the mount it logs an error and drops those labels.
This commit is contained in:
1 parent
fc85962f45
commit
feb6f035c8
2 files changed
+2
No files matched your search
@@ -131,6 +131,7 @@ the disclosure one.
|
||||
| `/sys:/sys:ro` | node-exporter and cadvisor cgroups |
|
||||
| `/:/rootfs:ro` | filesystem collector, via `rootfs_path` |
|
||||
| `/dev/disk/:/dev/disk:ro` | node-exporter diskstats device labels |
|
||||
| `/run/udev:/run/udev:ro` | node-exporter diskstats udev device properties (`/run/udev/data`) |
|
||||
| `/var/lib/docker:ro` | cadvisor container metadata |
|
||||
| `/var/log:/var/log:ro` | `loki.source.journal` and `loki.source.file` |
|
||||
| `/etc/machine-id:ro` | Stable host id for the journal reader |
|
||||
|
||||
@@ -29,6 +29,7 @@ services:
|
||||
- /sys:/sys:ro
|
||||
- /:/rootfs:ro
|
||||
- /dev/disk/:/dev/disk:ro
|
||||
- /run/udev:/run/udev:ro
|
||||
- /var/lib/docker/:/var/lib/docker:ro
|
||||
- /var/log:/var/log:ro
|
||||
- /etc/machine-id:/etc/machine-id:ro
|
||||
|
||||
Reference in new issue
Block a user