Commit Graph

4 Commits (daf10655341657cc400488da34f230771b5c84dd)

Author SHA1 Message Date
Prathamesh Musale f1b2060164 host-metrics: bind-mount /run/udev for diskio udev lookups
inputs.diskio (via gopsutil) reads /run/udev/data/b<major>:<minor> to
get per-device tags. Without the mount it falls back to the legacy
/dev/.udev/db/block:<name> path which doesn't exist on systemd hosts,
producing one "stat /dev/.udev/db/block:..." warning per device per
collection cycle.
2026-05-11 12:20:28 +00:00
Prathamesh Musale b7b6bcf731 host-metrics: bind-mount /dev for inputs.diskio
`inputs.diskio` enumerates devices from /proc/diskstats and then opens
/dev/<name> for udev/uevent lookups. The container's /dev only has
docker's minimal set, so telegraf logs an "error reading /dev/<name>"
warning per device per collection cycle. Mount the host's /dev
read-only so device lookups succeed.
2026-05-11 12:07:37 +00:00
Prathamesh Musale f13f347f3a host-metrics: declare compose file version for consistency 2026-05-11 10:43:45 +00:00
Prathamesh Musale 874c61820d host-metrics: stack.yml + compose skeleton
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 10:40:57 +00:00