Skip to content

Commit 9552f42

Browse files
committed
Remove smartmon run metric
This metric is a bit funny, it's a timestamp per device, but it's not accurate enough (seconds, not milliseconds) to derive much useful information from it. This should probably be replaced with a per-device duration metric. Signed-off-by: SuperQ <[email protected]>
1 parent b499988 commit 9552f42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

smartmon.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,7 @@ def collect_ata_error_count(device):
326326

327327

328328
def collect_disks_smart_metrics(wakeup_disks):
329-
now = int(datetime.datetime.utcnow().timestamp())
330-
331329
for device in find_devices():
332-
yield Metric('smartctl_run', device.base_labels, now)
333-
334330
is_active = device_is_active(device)
335331

336332
yield Metric('device_active', device.base_labels, is_active)

0 commit comments

Comments
 (0)