2.0 KiB
title, type, permalink, stable_id, scope, project_id, memory_type, status, revision, restored_from_commit, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | project_id | memory_type | status | revision | restored_from_commit | created_at | updated_at | tags | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 子模块:CapacityReport(双模式)与 InterferenceETL(位于 plugins/) | fact | main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/子模块-capacity-report-双模式与-interference-etl-位于-plugins | a3896ad9-d30c-4963-9232-a7d1ab571d19 | project | d5a7f581-c442-4554-87b9-ee723b8b0258 | fact | active | 1 | 6a6a895eaf |
2026-09-23T15:10:16.714253+00:00 | 2026-09-23T15:10:16.714314+00:00 |
|
两个 git 子模块自 2026-08-17 迁至 plugins/ 目录(plugins/CapacityReport、plugins/InterferenceETL,提交 2837fd6),远端均在 git.asio.asia/Metrix/,分支 main,新克隆需 git submodule update --init。注意:CapacityReport 的 .git 是内嵌目录(自包含,非 absorbed),InterferenceETL 是 absorbed(.git 文件指向父仓 .git/modules/InterferenceETL)。1) plugins/CapacityReport:自包含容量报表应用(FastAPI+Vue),双模式——数据源(SFTP/FTP 直连 或 Metrix 存储平台)与数据仓库(MySQL 直连 或 Metrix 数据库平台)各自独立选择;Metrix 连接信息存 Configure.json 的 MetrixConfig。Metrix 模式数据流:平台存储 API 下载 → CSV 处理 → 平台 /import(overwrite 自动建表)→ run-script(single_session) 执行本地 ReportScript.sql 内容(绝不用平台库内保存脚本)→ 查看/导出代理到 Metrix。已去除 API 文档与 API Token;授权默认到期 2026-12-30;其 database.py 处理函数必须用 def 而非 async def。2) plugins/InterferenceETL:干扰指标 ETL 脚本,跑在线上 Metrix 脚本管理(项目 ID 2,工作区 /opt/metrix/data/script_workspaces/u1/p2),部署走自包含离线 ZIP;结果含 network_type(2.6G/700M/TDD/FDD)与分制式 nearby 计数及 prev_ 对比字段。dev.py 的 CAPA_DIR 已指向 plugins/CapacityReport。