From d1c2aa06f01c40aa35943294e2f2653624c8d1b6 Mon Sep 17 00:00:00 2001 From: Liu Date: Fri, 1 May 2026 12:45:38 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=A2=9E=E5=BC=BA=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=B2=BB=E7=90=86=E4=B8=AD=E5=BF=83=E6=89=A7=E8=A1=8C=E8=A1=A8?= =?UTF-8?q?=E7=8E=B0=E4=B8=8E=E9=A3=8E=E9=99=A9=E6=8E=92=E8=A1=8C"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e3694b932078556ff67436ad3768886c3d5b1bcd. --- admin/dashboard/templates/plugins_manage.html | 309 +----------------- base/plugin_common/plugin_manager.py | 99 ------ docs/工程优化与Feature清单.md | 1 - 3 files changed, 10 insertions(+), 399 deletions(-) diff --git a/admin/dashboard/templates/plugins_manage.html b/admin/dashboard/templates/plugins_manage.html index 367e132..5021119 100644 --- a/admin/dashboard/templates/plugins_manage.html +++ b/admin/dashboard/templates/plugins_manage.html @@ -18,113 +18,41 @@ - +
插件总数
{% raw %}{{ plugins.length }}{% endraw %}
当前已注册插件模块
- +
运行中
{% raw %}{{ runningPluginsCount }}{% endraw %}
可正常提供能力的插件
- +
已停用
{% raw %}{{ stoppedPluginsCount }}{% endraw %}
待启用或排查状态
- +
治理告警
{% raw %}{{ governanceRiskCount }}{% endraw %}
存在配置、依赖或加载风险的插件
- - -
执行异常
-
{% raw %}{{ executionRiskCount }}{% endraw %}
-
最近执行失败、超时或进入熔断的插件
-
-
- - -
熔断中
-
{% raw %}{{ openCircuitCount }}{% endraw %}
-
当前被保护机制隔离的高风险插件
-
-
-
- - - - -
-
-

高风险插件

-

优先排查熔断中、连续失败或最近错误较多的插件。

-
-
-
-
暂无高风险插件
-
-
{% raw %}{{ index + 1 }}{% endraw %}
-
-
-
{% raw %}{{ plugin.name }}{% endraw %}
- - {% raw %}{{ executionLabel((plugin.execution_summary || {}).status) }}{% endraw %} - -
-
{% raw %}{{ (plugin.execution_summary || {}).summary || '暂无执行摘要' }}{% endraw %}
-
- 最近错误:{% raw %}{{ (plugin.execution_summary || {}).last_error_message || '无' }}{% endraw %} -
-
-
-
-
-
- - -
-
-

慢插件排行

-

基于最近一次执行耗时,快速定位可能影响主链路响应的插件。

-
-
-
-
暂无执行样本
-
-
{% raw %}{{ index + 1 }}{% endraw %}
-
-
-
{% raw %}{{ plugin.name }}{% endraw %}
-
{% raw %}{{ formatDurationMs((plugin.execution_summary || {}).last_process_time_ms) }}{% endraw %}
-
-
{% raw %}{{ (plugin.execution_summary || {}).summary || '暂无执行摘要' }}{% endraw %}
-
- 成功率:{% raw %}{{ formatPercent((plugin.execution_summary || {}).success_rate) }}{% endraw %} - 累计执行:{% raw %}{{ (plugin.execution_summary || {}).total_executions || 0 }}{% endraw %} -
-
-
-
-
-

插件列表

-

优先关注状态、执行表现和说明,再进入单个插件详情与配置编辑。

+

优先关注状态和说明,再进入单个插件详情与配置编辑。

@@ -163,23 +91,6 @@ - - -