feat(stats): 添加 Provider 性能统计分析

This commit is contained in:
Entropy.Xu
2026-05-05 11:24:16 +08:00
parent 627eb4f335
commit ff1ed8b57d
17 changed files with 1683 additions and 22 deletions
@@ -495,6 +495,19 @@ pub(super) fn classify_admin_observability_family_route(
"admin:stats",
false,
))
} else if method == http::Method::GET
&& matches!(
normalized_path,
"/api/admin/stats/performance/providers" | "/api/admin/stats/performance/providers/"
)
{
Some(classified(
"admin_proxy",
"stats_manage",
"provider_performance",
"admin:stats",
false,
))
} else if method == http::Method::GET
&& matches!(
normalized_path,