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

fix(dashboards/resources/node): kube_node_status_capacity missing kubeStateMetricsSelector #979

Conversation

BradErz
Copy link
Contributor

@BradErz BradErz commented Sep 26, 2024

The metric kube_node_status_capacity comes from kube-state-metrics component. However the "resources node dashboard" is missing the %(kubeStateMetricsSelector)s,.

This should allow the dashboard to be customised appropriately.

NOTE: the alert where this metric is used already contains the correct %(kubeStateMetricsSelector)s, filter:

kube_node_status_capacity{%(kubeStateMetricsSelector)s,resource="pods"} != 1

Copy link
Collaborator

@skl skl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm @povilasv

@povilasv povilasv merged commit dac6d03 into kubernetes-monitoring:master Oct 4, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants