Node exporter has flags to filter out certain file systems and mountpoints, by default these include tmpfs. Check node_exporter --help for details, and set the flags according to your needs.
/MR On Mon, Mar 8, 2021, 20:07 [email protected] <[email protected]> wrote: > I've a file system > > Filesystem 1K-blocks Used Available Use% Mounted on > devtmpfs 48292172 0 48292172 0% /dev > tmpfs 48318196 0 48318196 0% /dev/shm > tmpfs 48318196 345288 47972908 1% /run > tmpfs 48318196 0 48318196 0% /sys/fs/cgroup > /dev/nvme0n1p1 104846316 16042508 88803808 16% / > /dev/nvme1n1p1 528311736 86104376 415347536 18% /opt/xxx > tmpfs 9663640 0 9663640 0% /run/user/0 > tmpfs 9663640 0 9663640 0% /run/user/1002 > > But, the metric node_filesystem_size_bytes from node-exporter only gives > metric for > device '/dev/nvme0n1p1'. I also want the metric for other devices too. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/9a265903-f0b1-45bd-9c56-3dea68150d9en%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/9a265903-f0b1-45bd-9c56-3dea68150d9en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gbAsh8nu6vYdjFkXe1jDt_D15CxVPqXX%3DSJhBJqHma2xQ%40mail.gmail.com.

