Is there a way to differentiate SSD and HDD with the disk and diskio input plugin?


I’d like to collect io metrics on a server which has ssd and hdd. However the ssd and hdd naming is the same, with the lsblk command output can’t really differentiate them.

But do you know a way maybe is there is a hidden flag for ssd or hdd?
I just want HDD metrics at the moment.

Thank you