Best practice if you don't want to include NFS mounts is to exclude it from the list of filesystem types.
--collector.filesystem.fs-types-exclude="^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue| *nfs* |nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$" On Tue, Jul 23, 2024 at 3:10 PM mohan garden <chandupreet...@gmail.com> wrote: > came across this query , seems data is collected when prometheus contacts > the node exporter during scrape. > https://groups.google.com/g/prometheus-users/c/h46MJjkEadQ > > This leaves me with just the following query , > does node exporter use the same method to collect the file system usage > stats which the df command uses? > > Regards, > - MG > > > On Tuesday, July 23, 2024 at 5:58:42 PM UTC+5:30 mohan garden wrote: > >> Hi All, >> We are running node exporter in our infra server and prometheus is able >> to scrape the reported data at 30 seconds scrape inverval. It appears that >> node exporter collects the df command's output, and we try to discourage >> the use of df command on the NFS . >> >> As we plan to reduce the impact of node exporter on the NFS metadata >> query , so wanted to understand that at what frequency does the node >> exporter collects the data. >> >> Was unable to figure out this information from node exporter's --help >> option. >> >> Please advice. >> >> Regards >> - MG >> >> >> -- > 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 prometheus-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/1d03248a-3596-4fe5-aa62-33e632895912n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/1d03248a-3596-4fe5-aa62-33e632895912n%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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmqPxVSRf1%3D%2Bt733SHbSF7fEnUdcZpQoDAhuvDqZiWHsPA%40mail.gmail.com.