David-VTUK / prometheus-rancher-exporter

MIT License
7 stars 7 forks source link

Check for null values on k8s versions #8

Closed David-VTUK closed 2 years ago

David-VTUK commented 2 years ago
# HELP cluster_k8s_version version of K8s running in the downstream cluster
# TYPE cluster_k8s_version gauge
cluster_k8s_version{Name="local",Version="v1.24.4+k3s1"} 1
cluster_k8s_version{Name="test-cluster",Version=""} 1

CR exists but without a populated version field. Need to check for null strings.