adobe / adobe/spacecat-shared

Centralize the logic that looks at the latest organic traffic data and computes CPC

Đang mở
#653 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement good first issue
Ngôn ngữ chính
JavaScript
Star
5
Fork
2
Merge trung bình
19 giờ 55 phút
Pull request đã merge (30 ngày)
33

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

So sánh logic được tham chiếu trong spacecat-api-service/src/controllers/sites.js quanh các dòng 423-439 và trong spacecat-import-worker/src/mapper/latest-metrics.js quanh các dòng 30-35, cùng với pull request liên quan của spacecat-audit-worker. Xác định điểm vào dùng chung và các consumer dự kiến trước khi định nghĩa một triển khai tập trung và một quá trình migration hoàn tất sẽ bao gồm những gì.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
api, backend, data
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.