Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-state-metrics - invalid metric type "info" #31

Closed
sebastiangaiser opened this issue Mar 25, 2024 · 4 comments · Fixed by prometheus-community/helm-charts#4412
Closed

Comments

@sebastiangaiser
Copy link

sebastiangaiser commented Mar 25, 2024

Hey,

we upgraded kube-state-metrics to v2.11.0. Since then we get the error message invalid metric type "info" for scraping kube-state-metrics.
With v2.10.1 everything was working fine.

We already discovered that #14 shows a similar problem but as written it was working for us in the prio version.

Additionally we found: Info metrics are used to expose textual information which SHOULD NOT change during process lifetime. Common examples are an application's version, revision control commit, and the version of a compiler. source

@okaufmann
Copy link

I'm experiencing the same problem upgrading kube-prometheus-stack to 57.2.0 which will obviously upgrade kube-state-metrics to the corresponding version.

@ansarhun
Copy link

Most likely related to: kubernetes/kube-state-metrics#1973 (comment)
The fix seems to be merged: kubernetes/kube-state-metrics#2270

@davinkevin
Copy link

davinkevin commented Mar 29, 2024

Same error after the same upgrade.

Is there a mitigation recommended? We can remove ksm configuration or rollback to previous version of KSM.

This prevents the whole kube-state-metrics to be operational 🤔.

@sebastiangaiser
Copy link
Author

Upgrading kube-state-metrics to '2.12.0' solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants