Skip to content

Conversation

@sbates130272
Copy link
Contributor

The current OCP JSON format for the SMART extended log page is not condusive to metric collection via tools like Prometheus. So we add a new output mode that uses all lower case and underscores (instead of spaces). This should help with metric collection. At the same time we clean up some of the field names. We add a new argument (--output-format-version) to allow us to select which output version we want. Documentation updated to reflect this change and mark this as experimental.

Fixes #2577.

The current OCP JSON format for the SMART extended log page is not
condusive to metric collection via tools like Prometheus. So we add a
new output mode that uses all lower case and underscores (instead of
spaces). This should help with metric collection. At the same time we
clean up some of the field names. We add a new argument
(--output-format-version) to allow us to select which output version
we want. Documentation updated to reflect this change and mark this as
experimental.

Fixes linux-nvme#2577.

Signed-off-by: Stephen Bates <[email protected]>
@igaw igaw force-pushed the dev/stephen/ocp-smart-terse branch from 1e8a9e4 to d980578 Compare December 20, 2024 10:02
@igaw igaw merged commit 6a73c83 into linux-nvme:master Dec 20, 2024
17 of 18 checks passed
@igaw
Copy link
Collaborator

igaw commented Dec 20, 2024

Fixed up the checkpatch complain. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Field descriptors in OCP SMART Log Page are different to those in standard SMART Log Page

2 participants