[bug] node dashboard only shows latest instance
uhthomas opened this issue · comments
Describe the bug
Some panels are using node
to filter, and others are using a hidden instance
variable ( label_values(node_uname_info{nodename=~"(?i:($node))"}, instance)
). If a node changes its IP, then some panels will look normal and others will be missing data.
How to reproduce?
- Collect node metrics.
- Change IP of node.
- Observe the node dashboard has some unaffected panels, and others which only show the latest 'instance'.
Expected behavior
It should probably show all instances of a node.
Additional context
No response
Hi @uhthomas,
I've been thinking about this and don't see a fix for this one.
The node / instance hack was used to have convenient names while using the dashboard, I'd like to keep it that way.
For me, a node changing IP is a rare corner case, but I guess it depends on your setup.
How often do you have IP changes on your nodes?
Documented in 34a469f