Hi All , i am using longhorn in my k8s deployment....
# longhorn-storage
a
Hi All , i am using longhorn in my k8s deployment. I want to generate Alerts using metrics exposed by Longhorn .. I see longhorn gives metrics at 3 levels .. i.e 1) Node 2) Disk 3) Volume .. The 1st question is for Node level metrics .. Say Node has multiple disks .. Will metric
longhorn_node_storage_capacity_bytes
consider all disks or only the one used by longhorn to create PV's ? Say i have 1 disk with capacity 1 TB.. In this disk , i have a partition of 500GB .. that partition mount i have given as input to Longhorn .. So will longhorn show
longhorn_node_storage_capacity_bytes
as 500GB ?
h
Looking at this doc: https://longhorn.io/docs/1.10.0/monitoring/metrics/ Says "The storage capacity of this node"
Looking over at my longhorn deployment... I have OS disk and dedicated Longhorn disk Above metric of
longhorn_node_storage_capacity_bytes
shows capacity of Longhorn disk only - not the entire OS disk capacity.
👍 1