mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	Add erofs in default excluded fs type
Signed-off-by: Nemric <56299157+Nemric@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									38d32a3977
								
							
						
					
					
						commit
						bc1dec9068
					
				| 
						 | 
				
			
			@ -33,7 +33,7 @@ import (
 | 
			
		|||
 | 
			
		||||
const (
 | 
			
		||||
	defMountPointsExcluded = "^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+|var/lib/containers/storage/.+)($|/)"
 | 
			
		||||
	defFSTypesExcluded     = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
 | 
			
		||||
	defFSTypesExcluded     = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|erofs|sysfs|tracefs)$"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var mountTimeout = kingpin.Flag("collector.filesystem.mount-timeout",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue