Skip to content

Commit

Permalink
nvme_metrics: use device label in namespace_info metric
Browse files Browse the repository at this point in the history
Use "device" rather than "namespace" label so that it matches the other
namespace-specific metrics.

Signed-off-by: Daniel Swarbrick <[email protected]>
  • Loading branch information
dswarbrick committed Nov 21, 2024
1 parent 895fbb1 commit 75f33a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvme_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"namespace_info": Info(
"namespace",
"Namespace information",
["namepace", "nsid", "controller"], namespace=namespace, registry=registry,
["device", "nsid", "controller"], namespace=namespace, registry=registry,
),
"physical_size": Gauge(
"physical_size_bytes",
Expand Down

0 comments on commit 75f33a7

Please sign in to comment.