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

Deprecated Metric Usage #2264

Closed
AuHoppe opened this issue Nov 9, 2023 · 1 comment · Fixed by #2269
Closed

Deprecated Metric Usage #2264

AuHoppe opened this issue Nov 9, 2023 · 1 comment · Fixed by #2269

Comments

@AuHoppe
Copy link
Contributor

AuHoppe commented Nov 9, 2023

Issue:
The v2 release of kube-state-metrics removes several deprecated metrics, one with usage here.

Additional Context:
Referenced at: https://github.com/kubernetes/kube-state-metrics/blob/release-1.9/docs/README.md#metrics-deprecation

Resolution:
jsonnet/kube-prometheus/addons/weave-net/grafana-weave-net-cluster.json should be updated with the new form of kube_node_status_capacity_pods:
kube_node_status_capacity_pods ~ kube_node_status_capacity{resource="pods",unit="integer"}

@philipgough
Copy link
Contributor

Thanks. Do you want to have a go and creating the fix?

philipgough pushed a commit that referenced this issue Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants