nvme: add namespace parameters#3360
nvme: add namespace parameters#3360ShashwatHiregoudar wants to merge 18 commits intoprometheus:masterfrom
Conversation
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
|
Could you try to add tests for the new metrics? |
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
|
I have updated the fixtures and the output.txt. |
|
Seems reasonable but parsing should go into the prometheus/procfs module |
|
Ok 👍 prometheus/procfs#765 please approve it |
|
After they are merged, i can apply this patch and update the go.mod file with the new release tag |
|
hi @discordianfish It's been a while. |
discordianfish
left a comment
There was a problem hiding this comment.
Oops, sorry - right still needs prometheus/procfs#765 first
refactor: use updated library to collect NVMe namespace metrics directly from structured data instead of manual sysfs parsing. Signed-off-by: Shashwat Hiregoudar <shashwat.h@flipkart.com>
go mod tidy Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
|
@SuperQ can you please create a new release in procfs, |
|
I cut a new procfs version a few hours ago. |
Updated the version of github.com/prometheus/procfs to v0.20.1. Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
ae708b5 to
cfd51ce
Compare
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Improvement of the NVMe collector in node-exporter, to include the below-mentioned NVMe namespace-specific parameters NUSE
NCAP
NSZE
LBA Size
ANA State