CRD metrics are extremely brittle #1847
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
What happened:
CRD metrics are currently extremely brittle due to the way it is implemented. The name of the CRD is interpolated into the name of the metric which makes it impossible to aggregate a CRD across different versions (or at least very very annoying to do so).
What you expected to happen:
The name, version, group of the CRD should be a value in a metric label.
How to reproduce it (as minimally and precisely as possible):
https://github.com/kubernetes/kube-state-metrics/blob/master/docs/customresourcestate-metrics.md
The text was updated successfully, but these errors were encountered: