infiniband: Add node_infiniband_port_info metric with link_layer label
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- go, prometheus
调研方向
The issue names /sys/class/infiniband/<device>/ports/<port>/link_layer and says procfs already parses it as InfiniBandPort.LinkLayer. Start by reading the Infiniband collector and its tests to find how per-port metrics are exposed. Done means node_infiniband_port_info includes the per-port link_layer label; the linked PR #3892 indicates work is already underway.
由索引模型根据 Issue 内容生成。
描述
Add a per-port node_infiniband_port_info metric with a link_layer label
read from /sys/class/infiniband/<device>/ports/<port>/link_layer
(already parsed by procfs as InfiniBandPort.LinkLayer).
This makes it possible to tell native InfiniBand ports from RoCE (Ethernet)
ports. For example, a host with ConnectX-6 Dx (Ethernet) and ConnectX-7
(InfiniBand) adapters now exposes:
node_infiniband_port_info{device="mlx5_0",link_layer="Ethernet",port="1"} 1
node_infiniband_port_info{device="mlx5_2",link_layer="InfiniBand",port="1"} 1
link_layer is exposed per port rather than on node_infiniband_info because
it is a per-port attribute. Multi-port devices such as mlx4 (ConnectX-3) can
run ports with different link layers, which would give duplicate or
ambiguous node_infiniband_info series.
- 主要语言
- Go
- 星标
- 13.9k
- 派生
- 2.8k
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 16
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
prometheus/node_exporter 的其他 Issue
-
Darwin diskstats reports operation counts divided by block size as sectors可能已有人在做 @lbarrosby 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
prometheus/node_exporter#3850 · 2 条评论 ·
维护者通常 1 天内回复
-
node-mixin: Adjust `memory used` Dashboard to use `MemAvailable`可能重新可做 @ojasks 于 52 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
prometheus/node_exporter#3830 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
prometheus/node_exporter#3823 · 1 条评论 ·
维护者通常 1 天内回复
-
Fibre Channel collector panics when sysfs statistics counters are missing可能已有人在做 @itjustnathan 于 69 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
prometheus/node_exporter#3817 · 1 个 reaction ·
维护者通常 1 天内回复
-
ZFS collector misparses dataset values that occur in the kstat field prefix可能已有人在做 @vigneshakaviki 于 110 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
prometheus/node_exporter#3761 ·
维护者通常 1 天内回复
查看 prometheus/node_exporter 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
orion-belt-dev/orion-belt#181 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 79/100
kubesmarts/logic-operator#105 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 78/100
jakartaee/jakartablogs.ee#125 ·
-
story
难度 2/5 1-3 小时 新手友好度 78/100
patch-it-dev/patch-it-plugins#120 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
MUKE-coder/grit#228 ·