소스 수정
This commit is contained in:
@@ -23,7 +23,7 @@ export default defineEventHandler(async (event) => {
|
|||||||
current_value, threshold_value, message, detected_at
|
current_value, threshold_value, message, detected_at
|
||||||
FROM anomaly_logs
|
FROM anomaly_logs
|
||||||
WHERE detect_type = $1
|
WHERE detect_type = $1
|
||||||
AND detected_at >= NOW() - INTERVAL '${interval}'
|
AND detected_at::timestamp >= NOW() - INTERVAL '${interval}'
|
||||||
ORDER BY detected_at DESC
|
ORDER BY detected_at DESC
|
||||||
LIMIT 100
|
LIMIT 100
|
||||||
`, [type])
|
`, [type])
|
||||||
|
|||||||
Reference in New Issue
Block a user