[Question]: Optimizing Netdata Disk Charts: Excluding "Reserved for Root" Sections
fti-sfuke opened this issue · 1 comments
Bug description
Optimizing Netdata Disk Charts: Excluding "Reserved for Root" Sections
I've configured the Netdata Disk Statistics plugin to monitor disk performance metrics on my system. While the charts provide valuable insights into disk usage and performance.
I'd like to exclude / remove reserved for root from the graphs ( /var/lib/docker )
Here's a summary of my current Netdata configuration:
[plugin:proc:diskspace]
update every = 60
exclude space metrics on paths = /proc/* /sys/* /var/run/user/* /run/user/* /var/lib/docker/* /dev /dev/shm /run /run/* /opt/scorer/lib/stack-mgr/stacks/custom
inodes usage for all disks = no
[plugin:proc:/proc/diskstats]
exclude disks = loop* ram* boot rootfs rex-kmshare ext4
merged operations for all disks = no
backlog for all disks = no
i/o time for all disks = no
enable new disks detected at runtime = no
[plugin:proc:/proc/diskstats:sda]
enable = yes
enable performance metrics = auto
bandwidth = auto
operations = auto
merged operations = no
queued operations = auto
utilization percentage = auto
extended operations = no
[plugin:proc:/proc/diskstats:nvme0n1]
enable = yes
enable performance metrics = auto
bandwidth = auto
operations = auto
merged operations = no
queued operations = auto
utilization percentage = auto
extended operations = no
As you can see, I've excluded certain paths from disk space metrics to avoid cluttering the charts. However, I'm unsure how to reserved for root from the graphs ( /var/lib/docker ) & ( /opt/scorer/log )
Here's the output of lsblk -f
for reference:
root@DEB-NUC11TNH-BTTN22900SU1:/opt/scorer/etc/netdata# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
├─nvme0n1p1 vfat FAT32 71BF-1B83 505.2M 1% /boot/efi
├─nvme0n1p2 ext4 1.0 2f126303-5a9a-445f-b776-5fded8b26359 0 95% /
├─nvme0n1p3 ext4 1.0 0e4c9658-01af-44d3-85c3-42438e00fef8 5.5G 1% /opt/scorer/log
└─nvme0n1p4 ext4 1.0 04109503-d561-49c2-9107-4a35bb8f6313 99.9G 46% /opt/scorer/lib/stack-mgr/stacks/custom
/home/scorer/work
/var/lib/docker
Could someone provide guidance on how to exclude reserved for root from the graphs ( /var/lib/docker ) & ( /opt/scorer/log )
Your help would be greatly appreciated! Thanks in advance.
Expected behavior
reserved for root must be skip/hide from the graphs /var/lib/docker
Steps to reproduce
...
Installation method
from source
System info
root@DEB-NUC11TNH-BTTN22900SU1:/opt/scorer/etc/netdata# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Netdata build info
netdata -W buildinfo
Version: netdata v1.31.0-68-g2e88104dd
Configure options: '--prefix=/opt/scorer' '--disable-cloud' '--with-user=netdata' '--sysconfdir=/opt/scorer/etc' '--localstatedir=/opt/scorer' '--with-zlib' '--with-math' '--with-jemalloc=/opt/scorer' '--enable-https' '--enable-plugin-nfacct' 'CFLAGS=-I/opt/scorer/include -ftree-vectorize'
Features:
dbengine: NO
Native HTTPS: YES
Netdata Cloud: NO (by user request)
ACLK Next Generation: NO
ACLK Legacy: NO
TLS Host Verification: YES
Libraries:
jemalloc: YES
JSON-C: NO
libcap: NO
libcrypto: YES
libm: YES
LWS: YES shared-lib
mosquitto: YES
tcalloc: NO
zlib: YES
Plugins:
apps: YES
cgroup Network Tracking: YES
CUPS: NO
EBPF: NO
IPMI: NO
NFACCT: YES
perf: YES
slabinfo: YES
Xen: NO
Xen VBD Error Tracking: NO
Exporters:
AWS Kinesis: NO
GCP PubSub: NO
MongoDB: NO
Prometheus Remote Write: NO
Additional info
No response
Closing in favor if #17558
Answered in that discussion #17558 (comment)