NetApp / trident

Storage orchestrator for containers
Apache License 2.0
762 stars 222 forks source link

metric trident_volume_count isnt populated = not populated #931

Closed sojjan1337 closed 1 month ago

sojjan1337 commented 1 month ago

Version 24.02.0

Anyone knows why the metric trident_volume_count doesn't show how many volumes i got? When i do a tridentctl get volumes i can see them all. 24 it is.

trident_storageclass_count works

# TYPE trident_storageclass_count gauge
trident_storageclass_count 5
# HELP trident_volume_allocated_bytes The total allocated number of bytes grouped by backends and volumes
# TYPE trident_volume_allocated_bytes gauge
trident_volume_allocated_bytes{backend_type="ontap-nas",backend_uuid="xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxx",volume_state="deleting",volume_type="Filesystem"} 1.xxxxxxxxxxxxx+10
trident_volume_allocated_bytes{backend_type="ontap-nas",backend_uuid="xxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx",volume_state="online",volume_type="Filesystem"} 4.xxxxxxxxxxxxx+11
# HELP trident_volume_count The total number of volumes
# TYPE trident_volume_count gauge

Thanks!