update
This commit is contained in:
@@ -55,7 +55,8 @@ def kennzahlen(run_id: int) -> list[dict]:
|
||||
"SELECT ebene, stage, template, COUNT(*) AS calls,"
|
||||
" SUM(tok_in) AS tok_in, SUM(tok_out) AS tok_out,"
|
||||
" SUM(tok_cache_read) AS cache_read, SUM(dur_ms) AS dur_ms, SUM(wait_ms) AS wait_ms,"
|
||||
" SUM(status='ok') AS ok, SUM(status='timeout') AS timeouts,"
|
||||
" SUM(status IN ('error','infra')) AS fehler"
|
||||
" SUM(status='ok') AS ok,"
|
||||
" SUM(status='infra' AND meta LIKE '%timeout%') AS timeouts,"
|
||||
" SUM(status IN ('error','infra','parse')) AS fehler"
|
||||
" FROM events WHERE run_id=? GROUP BY ebene, stage, template ORDER BY MIN(id)",
|
||||
(run_id,))
|
||||
|
||||
Reference in New Issue
Block a user