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

This commit is contained in:
minecraft1024a
2025-11-13 18:38:47 +08:00
committed by Windpicker-owo
parent 7f6180e677
commit 6d5623e21d

View File

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