How to hide cdrom (disk.sr0) from netdata

Environment

Ubuntu 20.04.3 5.4.0-88

Problem/Question

My cloud server provider gave me a cdrom driver called sr0 in my server, and it shows up in netdata which I think unnecessary. How can I do to hide it?

You can disable charts in netdata.conf

[disk.sr0]
	enabled = yes

Do the same for every chart disk_*.sr0 as well.

Another option is to exclude the disk using exclude disks configuration option. It can be found under [plugin:proc:/proc/diskstats] section in the netdata.conf file.

I added these lines to netdata.conf and they has been hidden in specify node tab, but they still show up in global node tab, even after I cleanup all the data of the web page included IndexedDB, dit I do wrong?

It's hidden in specify node tab:

image

But still show up in global `node` tab:

config
[plugin:proc:/proc/diskstats:config-2]
    enable = no

[disk.sr0]
    enable = no

[disk_ext.sr0]
    enable = no

[disk_ops.sr0]
    enable = no

[disk_ext_ops.sr0]
    enable = no

[disk_backlog.sr0]
    enable = no

[disk_busy.sr0]
    enable = no

[disk_util.sr0]
    enable = no

[disk_iotime.sr0]
    enable = no

[disk_ext_iotime.sr0]
    enable = no

[disk_await.sr0]
    enable = no

[disk_ext_await.sr0]
    enable = no

[disk_avgsz.sr0]
    enable = no

[disk_ext_avgsz.sr0]
    enable = no

[disk_svctm.sr0]
    enable = no

Try the option @ilyam8 mentioned:

[plugin:proc:/proc/diskstats]
	exclude disks = loop* ram* sr0

After setting exclude disks, there is still sr0 which is blank showing in the node tab. Even I cleanup all the storage in devtool.

BTW, I can confirm that the sr0 disk isn’t show up in local monitor:

Screenshot