Add fallback for missing /proc/1/mounts (#1172)
* Add fallback for missing /proc/1/mounts On some systems, `/proc/1/mounts` is hidden from non-root users due to the `hidepid` procfs feature. Attempt to fallback to `/proc/mounts` if `/proc/1/mounts` is not found. Signed-off-by: Ben Kochie <superq@gmail.com> * Add tests. Signed-off-by: Ben Kochie <superq@gmail.com> * Add CHANGELOG entry. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
0cb0c4d911
commit
4abc6fba7d
4 changed files with 28 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
### Changes
|
||||
|
||||
* [BUGFIX]
|
||||
* [BUGFIX] Add fallback for missing /proc/1/mounts #1172
|
||||
* [CHANGE] Add TCPSynRetrans to netstat default filter #1143
|
||||
* [ENHANCEMENT] Add Infiniband counters #1120
|
||||
* [FEATURE] Add a flag to disable exporter metrics #1148
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue