Centralize the logic that looks at the latest organic traffic data and computes CPC
- 主要语言
- JavaScript
- 星标
- 5
- 派生
- 2
- 平均合并
- 19 小时 55 分钟
- 30 天内合并 PR
- 33
描述
**Is your feature request related to a problem? Please describe.**
Related to: https://github.com/adobe/spacecat-audit-worker/pull/725
**Describe the solution you'd like**
In the future, we'll have to centralize the logic that looks at the latest organic traffic data and computes CPC, as this is now also in https://github.com/adobe/spacecat-api-service/blob/e0e3d1e2310636055b037d24d8ddc038114e31bb/src/controllers/sites.js#L423-L439 and https://github.com/adobe/spacecat-import-worker/blob/e0ae0953ae33aac5775a7e2a9a5d954553f35a36/src/mapper/latest-metrics.js#L30-L35
贡献指南
调研方向
比较 spacecat-api-service/src/controllers/sites.js 中第 423-439 行附近引用的逻辑与 spacecat-import-worker/src/mapper/latest-metrics.js 中第 30-35 行附近的逻辑,以及相关的 spacecat-audit-worker pull request。在定义集中式实现和完整迁移应包含哪些内容之前,确定共享入口点和预期消费者。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- api, backend, data
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100