diff --git a/admin/dashboard/templates/plugins_manage.html b/admin/dashboard/templates/plugins_manage.html index 5021119..367e132 100644 --- a/admin/dashboard/templates/plugins_manage.html +++ b/admin/dashboard/templates/plugins_manage.html @@ -18,41 +18,113 @@ - +
插件总数
{% 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 %} +
+
+
+
+
+

插件列表

-

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

+

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

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