Skip to content

Commit 75f33a7

Browse files
committed
nvme_metrics: use device label in namespace_info metric
Use "device" rather than "namespace" label so that it matches the other namespace-specific metrics. Signed-off-by: Daniel Swarbrick <[email protected]>
1 parent 895fbb1 commit 75f33a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvme_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"namespace_info": Info(
118118
"namespace",
119119
"Namespace information",
120-
["namepace", "nsid", "controller"], namespace=namespace, registry=registry,
120+
["device", "nsid", "controller"], namespace=namespace, registry=registry,
121121
),
122122
"physical_size": Gauge(
123123
"physical_size_bytes",

0 commit comments

Comments
 (0)