feat(statistic): 支持按 provider 统计请求

This commit is contained in:
minecraft1024a
2025-11-13 18:38:47 +08:00
parent 2b55bd7ac5
commit 2f46794a64

View File

@@ -411,6 +411,7 @@ class StatisticOutputTask(AsyncTask):
(REQ_CNT_BY_USER, "user"), (REQ_CNT_BY_USER, "user"),
(REQ_CNT_BY_MODEL, "model"), (REQ_CNT_BY_MODEL, "model"),
(REQ_CNT_BY_MODULE, "module"), (REQ_CNT_BY_MODULE, "module"),
(REQ_CNT_BY_PROVIDER, "provider"),
]: ]:
time_cost_key = f"TIME_COST_BY_{items.upper()}" time_cost_key = f"TIME_COST_BY_{items.upper()}"
avg_key = f"AVG_TIME_COST_BY_{items.upper()}" avg_key = f"AVG_TIME_COST_BY_{items.upper()}"