update: 编辑整理文档 context_study

MemRelay-Operation: curated-update:293586da-c6d2-41da-9ea7-701e3974d19f:2
MemRelay-Resource: 293586da-c6d2-41da-9ea7-701e3974d19f
This commit is contained in:
2026-10-08 15:06:54 +08:00
parent 3c21391ece
commit aabd251a0b
2 changed files with 39 additions and 17 deletions
@@ -0,0 +1,24 @@
---
title: 子模块:CapacityReport 与 InterferenceETL 当前实现
type: fact
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/子模块-capacity-report-与-interference-etl-当前实现
stable_id: a3896ad9-d30c-4963-9232-a7d1ab571d19
scope: project
memory_type: fact
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
usage_profile_id: null
status: active
revision: 2
request_id: metrix-correct-original-plugin-fact-02
created_at: '2026-09-23T15:10:19.815926+00:00'
updated_at: '2026-10-08T07:06:52.968979+00:00'
tags:
- submodule
- source-verified
- plugins
---
两个Git子模块位于plugins/CapacityReport及plugins/InterferenceETL,远端为Metrix组对应仓库,main分支;新克隆git submodule update --init --recursive。当前CapacityReport .git为内嵌目录,InterferenceETL .git为指向父仓.git/modules的文件。
CapacityReport独立FastAPI/Vue容量报表应用并有Tauri桌面版。source_type与warehouse_type分别选择直连或Metrix平台;平台链路存储API→CSV→异步导入→single_session执行本地ReportScript.sql文本→查询导出。CellData仍含直连FTP/SFTP/PyMySQL路径,不能以平台仓库模式推断全部走API。源码依据app/warehouse.py/services/platform.py/services/pipeline.py及routers。实际部署、授权配置与凭据以运行实例核对,旧部署项目ID/到期时间不作为当前固定事实。
InterferenceETL独立Python单批处理,runtime_config.py配置Metrix API和连接ID,openpyxl依赖通过vendor离线包提供。当前main.py按自然15分钟最新组,每源取组内最新文件,缺7类之一则waiting不回退。处理CellData、阈值/CGI去重、1km邻区分类、prev_对比,通过平台数据库API更新,再通过存储API上传GBK历史。--source-dir不关闭数据库,离线需--no-database。通用平台脚本计划负责调度,无InterferenceETL专属cron编辑器。旧小时直连MySQL版本及线上项目ID/路径属于历史记录。
dev.py默认最多四进程Metrix8000/5173、CapacityReport9081/5174;具体选项和本轮改动以当前README及最新checkpoint为准。