Skip to content

Commit 2ba21c6

Browse files
committed
Fix comments (disk utilisation/saturation return seconds).
1 parent 637399b commit 2ba21c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rules/rules.libsonnet

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,14 @@
293293
||| % $._config,
294294
},
295295
{
296-
// Disk utilisation (ms spent, by rate() it's bound by 1 second)
296+
// Disk utilisation (seconds spent, by rate() it's bound by 1 second)
297297
record: ':node_disk_utilisation:avg_irate',
298298
expr: |||
299299
avg(irate(node_disk_io_time_seconds_total{%(nodeExporterSelector)s,%(diskDeviceSelector)s}[1m]))
300300
||| % $._config,
301301
},
302302
{
303-
// Disk utilisation (ms spent, by rate() it's bound by 1 second)
303+
// Disk utilisation (seconds spent, by rate() it's bound by 1 second)
304304
record: 'node:node_disk_utilisation:avg_irate',
305305
expr: |||
306306
avg by (node) (
@@ -311,14 +311,14 @@
311311
||| % $._config,
312312
},
313313
{
314-
// Disk saturation (ms spent, by rate() it's bound by 1 second)
314+
// Disk saturation (seconds spent, by rate() it's bound by 1 second)
315315
record: ':node_disk_saturation:avg_irate',
316316
expr: |||
317317
avg(irate(node_disk_io_time_weighted_seconds_total{%(nodeExporterSelector)s,%(diskDeviceSelector)s}[1m]))
318318
||| % $._config,
319319
},
320320
{
321-
// Disk saturation (ms spent, by rate() it's bound by 1 second)
321+
// Disk saturation (seconds spent, by rate() it's bound by 1 second)
322322
record: 'node:node_disk_saturation:avg_irate',
323323
expr: |||
324324
avg by (node) (

0 commit comments

Comments
 (0)