在 API 中使用"GetExport"方法
作者: nicolargo创建于 2025年6月22日更新于 2026年8月24日
标签breaking change
警告: 这是 API 中的一个突变性更改,因此需要在 Glances 5.0 中进行计划
出于历史原因,Glances Restful API (以及 XML 版本)没有使用 GlancesStats 类中的新的 getAllExportsAsDict、get_export 和 getAllExport 方法。此新方法会根据插件的 export_exclude_list 变量过滤统计数据。
内容来源: nicolargo/glances