-
Notifications
You must be signed in to change notification settings - Fork 382
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
[bug] Failed to display node metrics #37
Comments
Hi @fcecagno, thank you for reporting this, will look at it this week! |
Hi @dotdc , I'm pretty sure I need to play with relabeling on node-exporter to make it work properly. I'll post here when I find the solution. |
Hey Modifying the labels may be a bit complicated for people using predefined monitoring solutions like kube-prometheus-stack Regards |
That's precisely my case, and I didn't succeed modifying the labels, so I believe updating to a more generic filter might be a better solution. |
🎉 This issue has been resolved in version 1.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
This is the way variables are configured on k8s-views-nodes.json:
In OKE,
kube_node_info
looks like this:And
node_uname_info
looks like this:For this example,
node=10.0.107.39
, but when I querynode_uname_info{nodename=~"(?i:($node))"}
, it doesn't return anything, becausenodename
doesn't match the internal IP address of the node.As a result, no node metrics is displayed.
How to reproduce?
No response
Expected behavior
No response
Additional context
Modifying the filter https://github.com/dotdc/grafana-dashboards-kubernetes/blob/master/dashboards/k8s-views-nodes.json#L3747-L3772 to use
node_uname_info{instance="$node:9100"}
fixes the issue.The text was updated successfully, but these errors were encountered: