nvme: add namespace parameters#3360
Conversation
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
|
Could you try to add tests for the new metrics? |
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
|
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 <[email protected]>
go mod tidy Signed-off-by: Shashwat Hiregoudar <[email protected]>
|
@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 <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
9aa8d26 to
2a166b3
Compare
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
Signed-off-by: Shashwat Hiregoudar <[email protected]>
|
@SuperQ |
* [CHANGE] Adds distroless container image. #3592 * [FEATURE] infiniband: Add `hw_counters` metrics #2827 * [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470 * [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509 * [FEATURE] netlink: Add node_network_altnames_info metric #3541 * [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547 * [FEATURE] bcachefs: Add new collector for bcachefs #3523 * [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525 * [ENHANCEMENT] nvme: Add namespace parameters #3360 * [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340 * [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358 * [BUGFIX] diskstats: Fix panic when using device-include flag only #3603 Signed-off-by: Ben Kochie <[email protected]>
* [CHANGE] Adds distroless container image. #3592 * [FEATURE] infiniband: Add `hw_counters` metrics #2827 * [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470 * [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509 * [FEATURE] netlink: Add node_network_altnames_info metric #3541 * [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547 * [FEATURE] bcachefs: Add new collector for bcachefs #3523 * [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525 * [ENHANCEMENT] nvme: Add namespace parameters #3360 * [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340 * [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358 * [BUGFIX] diskstats: Fix panic when using device-include flag only #3603 Signed-off-by: Ben Kochie <[email protected]>
* [CHANGE] Adds distroless container image. #3592 * [FEATURE] infiniband: Add `hw_counters` metrics #2827 * [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470 * [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509 * [FEATURE] netlink: Add node_network_altnames_info metric #3541 * [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547 * [FEATURE] bcachefs: Add new collector for bcachefs #3523 * [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525 * [ENHANCEMENT] nvme: Add namespace parameters #3360 * [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340 * [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358 * [BUGFIX] diskstats: Fix panic when using device-include flag only #3603 Signed-off-by: Ben Kochie <[email protected]>
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
….11.1 ##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1) - \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613) --- ##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0) - \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592) - \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827) - \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470) - \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509) - \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541) - \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547) - \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523) - \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525) - \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360) - \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340) - \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358) - \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
Improvement of the NVMe collector in node-exporter, to include the below-mentioned NVMe namespace-specific parameters NUSE
NCAP
NSZE
LBA Size
ANA State