Skip to content

Conversation

@cityofships
Copy link
Member

@cityofships cityofships commented Dec 23, 2025

Also, display only physical link speeds + bonds for combined speed of individual links.

Also, display just the physical link speeds + bonds for combined speed
of individual links.
@cityofships cityofships requested a review from a team as a code owner December 23, 2025 14:38
@cityofships cityofships added the monitoring All things related to observability & telemetry label Dec 23, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enhances the Node Exporter dashboard by adding mappings for higher link speeds (25G, 50G, 100G, 200G) and refining the 'Link Speed' panel to display only physical and bonded interfaces. The changes are a good improvement. I have one suggestion to make the interface filter more comprehensive.

"editorMode": "code",
"exemplar": false,
"expr": "max by (device)(node_network_speed_bytes{instance=\"$node\",job=\"$job\", device!~\"tap.*\"})",
"expr": "max by (device)(node_network_speed_bytes{instance=\"$node\",job=\"$job\", device=~\"(en.*|eth.*|bond.*)\"})",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The new regex (en.*|eth.*|bond.*) is a great improvement for filtering physical and bonded interfaces. However, it might be beneficial to also include InfiniBand interfaces, which are common in high-performance environments and can have speeds like the ones you've added (e.g., 100G, 200G). InfiniBand interfaces are typically named with an ib prefix (e.g., ib0).

Consider adding ib.* to the regex to include these interfaces.

          "expr": "max by (device)(node_network_speed_bytes{instance=\"$node\",job=\"$job\", device=~\"(en.*|eth.*|bond.*|ib.*)\"})"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

monitoring All things related to observability & telemetry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants