> does node exporter use the same method to collect the file system usage stats which the df command uses?
Essentially yes. But you can easily
exclude certain filesystems and/or types of filesystem from collection.
The below is picked up from an old machine, but I believe the flags won't have changed much: "--collector.filesystem.fs-types-exclude" is probably the one of most of interest to you.
/usr/local/bin/node_exporter --web.config=/etc/prometheus/node_exporter_web_config.yaml --web.disable-exporter-metrics --collector.textfile.directory=/var/lib/node_exporter --collector.netdev.device-exclude=^(veth.+)$ --collector.netclass.ignored-devices=^(veth.+)$ --collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v|xv)d[a-z]+|nvme[0-9]+n[0-9]+p)[0-9]+$ --collector.filesystem.fs-types-exclude=^(aufs|autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fuse[.]glusterfs|fuse[.]lxcfs|fusectl|hugetlbfs|mqueue|nfs4?|nsfs|overlay|proc|procfs|pstore|rootfs|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tmpfs|tracefs)$ --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker|.*[.]zfs/snapshot)($|/)