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

Some of node's metrics are missing on Nodes overview tab #9

Closed
amravyan opened this issue Sep 24, 2019 · 2 comments
Closed

Some of node's metrics are missing on Nodes overview tab #9

amravyan opened this issue Sep 24, 2019 · 2 comments

Comments

@amravyan
Copy link

Hi!

Facing a strange issue: some of node's metrics (pod limits usage percent, for example) are missing on the tab Nodes overview (N/A NaN%). On the other hand, all these metrics are available in prometheus.
Could you please check and investigate? All screenshots are attached.

Kubernetes v1.15.3 (on-premise, kubespray)
Prometheus from helm chart stable/prometheus (9.1.1), node-exporter image prom/node-exporter:v0.18.0

prom_data_mem
prom_data_cpu
metrics

@SergeiSporyshev
Copy link
Collaborator

Hi!
It's look like Prometheus cann't scrape metrics from kubelet (/metrics/cadvisor)

@amravyan
Copy link
Author

amravyan commented Oct 11, 2019

In case you have Prometheus installed from prometheus chart (not prometheus operator), you have to add label replace rule listed below to two jobs: kubernetes-nodes and kubernetes-nodes-cadvisor.

          - source_labels: [__meta_kubernetes_node_name]
            action: replace
            target_label: node

image

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

No branches or pull requests

2 participants