You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# HELP kube_crd_test_metrics metrics for debugging# TYPE kube_crd_test_metrics gauge (<--)kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="deployment.kubernetes.io/revision",version="v1"} 1kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="test-a",version="v1"} 1kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="test-b",version="v1"} 2# HELP kube_crd_test_metrics metrics for debugging# TYPE kube_crd_test_metrics gauge (<--)kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="deployment.kubernetes.io/revision",version="v1"} 1kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="test-a",version="v1"} 1kube_crd_test_metrics{group="apps",kind="Deployment",name="nginx-deployment",test="test-b",version="v1"} 2
Environment:
kube-state-metrics version: HEAD
The text was updated successfully, but these errors were encountered:
What happened: CRS metrics are hard-coded to "gauge" as the their TYPE.
What you expected to happen: CRS metrics should be able to dynamically deduce the TYPE correctly.
How to reproduce it (as minimally and precisely as possible): PTAL at the example below.
Anything else we need to know?: Surfaced here: #1880 (comment).
Input
Output
Environment:
The text was updated successfully, but these errors were encountered: