소스 수정

This commit is contained in:
2025-12-28 16:27:46 +09:00
parent 56451c8070
commit 1fc6a9ccd9
6 changed files with 89 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ export default defineEventHandler(async (event) => {
collected_at
FROM server_containers
WHERE target_id = $1
AND collected_at >= NOW() - INTERVAL '${interval}'
AND collected_at::timestamp >= NOW() - INTERVAL '${interval}'
ORDER BY collected_at ASC, container_name ASC
`, [targetId])
} catch (e) {

View File

@@ -42,7 +42,7 @@ export default defineEventHandler(async (event) => {
collected_at
FROM server_disks
WHERE target_id = $1
AND collected_at >= NOW() - INTERVAL '${interval}'
AND collected_at::timestamp >= NOW() - INTERVAL '${interval}'
ORDER BY collected_at ASC, mount_point ASC
`, [targetId])
} catch (e) {

View File

@@ -42,7 +42,7 @@ export default defineEventHandler(async (event) => {
collected_at
FROM server_networks
WHERE target_id = $1
AND collected_at >= NOW() - INTERVAL '${interval}'
AND collected_at::timestamp >= NOW() - INTERVAL '${interval}'
ORDER BY collected_at ASC, interface_name ASC
`, [targetId])
} catch (e) {