Closed hugosxm closed 1 year ago
Thanks for your contribution, however the placement of the additional metric output will technically violate the following criteria of the text exposition format:
All lines for a given metric must be provided as one single group, with the optional HELP and TYPE lines first (in no particular order).
For example, it could lead to a scenario such as this:
# HELP node_lvm_thin_pools_allocated percentage of allocated thin pool data
# TYPE node_lvm_thin_pools_allocated gauge
# HELP node_lvm_thin_pools_metadata percentage of allocated thin pool metadata
# TYPE node_lvm_thin_pools_metadata gauge
node_lvm_thin_pools_allocated{uuid="LVMfoo", vgroup="vg01"} 73.2
node_lvm_thin_pools_metadata{uuid="LVMfoo", vgroup="vg01"} 2.5
node_lvm_thin_pools_allocated{uuid="LVMbar", vgroup="vg01"} 67.1
node_lvm_thin_pools_metadata{uuid="LVMbar", vgroup="vg01"} 1.8
Thanks for your contribution, however the placement of the additional metric output will technically violate the following criteria of the text exposition format:
All lines for a given metric must be provided as one single group, with the optional HELP and TYPE lines first (in no particular order).
For example, it could lead to a scenario such as this:
# HELP node_lvm_thin_pools_allocated percentage of allocated thin pool data # TYPE node_lvm_thin_pools_allocated gauge # HELP node_lvm_thin_pools_metadata percentage of allocated thin pool metadata # TYPE node_lvm_thin_pools_metadata gauge node_lvm_thin_pools_allocated{uuid="LVMfoo", vgroup="vg01"} 73.2 node_lvm_thin_pools_metadata{uuid="LVMfoo", vgroup="vg01"} 2.5 node_lvm_thin_pools_allocated{uuid="LVMbar", vgroup="vg01"} 67.1 node_lvm_thin_pools_metadata{uuid="LVMbar", vgroup="vg01"} 1.8
Hi, I made the change, please see the new version, I think it is good now, sorry for the first try, i was not aware of this !
@hugosxm Please sign off your commits to make DCO happy.
Hi,
i added the metadata usage for each lvm thin as i found this info crucial for monitoring.
Here is a sample output :