서버상태수정

This commit is contained in:
Moon
2026-01-23 17:44:08 +09:00
parent d68393ffa6
commit 575eee98ca
3 changed files with 35 additions and 22 deletions

View File

@@ -153,8 +153,6 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
systemMetricEntity.memused,
systemMetricEntity.kbmemused,
gpuMetricEntity.gpuUtil
// gpuMetricEntity.gpuMemUsed,
// gpuMetricEntity.gpuMemTotal
))
.from(systemMetricEntity)
.leftJoin(gpuMetricEntity)
@@ -163,7 +161,9 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
.timestamp
.in(latestGpuIds)
.and(gpuMetricEntity.serverName.eq(systemMetricEntity.serverName)))
.where(systemMetricEntity.timestamp.in(latestIds)) // In 절 사용
.where(systemMetricEntity.timestamp.in(latestIds)
//.and(systemMetricEntity.serverName.ne("server2"))
) // In 절 사용
.orderBy(systemMetricEntity.serverName.asc())
.limit(4)
.fetch();