♻️ Cleanup

This commit is contained in:
andreas.dinauer 2025-11-16 15:24:45 +01:00
parent b9514ba98e
commit 92aa205475
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class NodeMonitoringService
Map.entry("ABSOLUTE_MEMORY", toLong(nodeMetrics.absoluteMemory())),
Map.entry("ABSOLUTE_CPU", toLong(nodeMetrics.absoluteCpuUsage())),
Map.entry("RELATIVE_DISK_SPACE", toLong(nodeMetrics.relativeDiskUsage())),
Map.entry("TOTAL_DISK_SPACE", toLong(nodeMetrics.totalDiskSpace())));
Map.entry("TOTAL_DISK_SPACE", nodeMetrics.totalDiskSpace()));
indexingService.index(String.format("NODE-%s", node.getMetadata().getUid()), "NODE_METRICS", metrics);
}
}

View File

@ -46,7 +46,7 @@ public class NodeDiskService
}
catch (URISyntaxException | IOException | InterruptedException e)
{
LOG.errorf("Failed to collect disk monitoring for node %s", nodeName);
LOG.errorf("Failed to collect disk monitoring for node %s (Pod IP: %s)", nodeName, ip);
}
}
return result;