Skip to content

Commit 15353b1

Browse files
authored
add Oximeter metrics for NVMe Discard (#10419)
1 parent 32de20c commit 15353b1

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

oximeter/oximeter/schema/virtual-disk.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,33 @@ versions = [
9090
{ added_in = 1, fields = [ "failure_reason" ] }
9191
]
9292

93+
[[metrics]]
94+
name = "bytes_discarded"
95+
description = "Number of bytes discarded from the disk"
96+
units = "bytes"
97+
datum_type = "cumulative_u64"
98+
versions = [
99+
{ added_in = 1, fields = [] }
100+
]
101+
102+
[[metrics]]
103+
name = "discards"
104+
description = "Total number of discard operations to the disk"
105+
units = "count"
106+
datum_type = "cumulative_u64"
107+
versions = [
108+
{ added_in = 1, fields = [] }
109+
]
110+
111+
[[metrics]]
112+
name = "failed_discards"
113+
description = "Total number of failed discard operations to the disk"
114+
units = "count"
115+
datum_type = "cumulative_u64"
116+
versions = [
117+
{ added_in = 1, fields = [ "failure_reason" ] }
118+
]
119+
93120
[[metrics]]
94121
name = "flushes"
95122
description = "Total number of flush operations on the disk"

0 commit comments

Comments
 (0)