exclude /proc/ and /sys/ from the monitored filesystems
Costa Tsaousis (ktsaou) committed
Nov 22, 2016 at 02:11 UTC
6e367cf6d9ff9e49bedfe2bac62fa57e6c48deea
1 file changed
+1
-1
src/proc_diskstats.c
+1
-1
@@ -70,7 +70,7 @@ static inline int is_mount_point_excluded(const char *mount_point) {
70
if(unlikely(!initialized)) {
71
initialized = 1;
72
73
- char *a = config_get("plugin:proc:/proc/diskstats", "exclude space metrics on paths", "/var/run/user/ /run/user/");
73
+ char *a = config_get("plugin:proc:/proc/diskstats", "exclude space metrics on paths", "/proc/ /sys/ /var/run/user/ /run/user/");
74
if(a && *a) {
75
char *s = a;
76