Count AI agent requests to docs.apify.com at the CDN, as apify.com does
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- aws
- Lĩnh vực
- analytics, devops, infrastructure
Hướng nghiên cứu
The reference counter is the AIBotTrackingFunction CloudFront function in apify-web's deploy/cloudformation/cdn.yaml, and the docs distribution is defined in deploy/cloudformation/apify-docs.yaml in the private apify-docs-private repo, where DefaultTTL: 86400 sits. Start by reading how the function counts per agent and path, then check whether the docs distribution can attach it. Done means agent requests to docs.apify.com are counted per agent, per path, and per Markdown or HTML request, and appear on the existing agent traffic board.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Nothing counts AI agent requests to docs.apify.com. On apify.com, a CloudFront function (AIBotTrackingFunction) counts each agent request by vendor and path, and a board shows which pages agents read, whether they ask for HTML or Markdown, and how often they fetch agent-facing files. The docs CloudFront distribution doesn't run that function, so the same questions have no answer for the ~1,470 .md pages docs publishes, though most of the Apify .md pages Bing's AI answers cite are docs pages.
Done when
- Requests to docs.apify.com are counted per agent and per path, using the agent buckets apify.com uses.
- Each count records whether the agent asked for Markdown (a
.mdURL orAccept: text/markdown) or HTML. - The counts appear on a board with the same view as the apify.com agent traffic board.
Constraints
- The nginx origin logs can't stand in for CDN counting. The docs distribution caches for a day (
DefaultTTL: 86400inapify-docs.yaml), so nginx sees only cache misses.
Source
Hanieh's request in #acquisition-team-collaboration: https://apify.slack.com/archives/C04BTPAF0V8/p1790851249885659?thread_ts=1790151619.210319&cid=C04BTPAF0V8
- Ngôn ngữ chính
- JavaScript
- Star
- 82
- Fork
- 240
- Merge trung bình
- 4 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apify/apify-docs
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
apify/apify-docs#3071 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
apify/apify-docs#3049 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apify/apify-docs#2742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
apify/apify-docs#2741 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
low priority t-unblocking tech enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
apify/apify-docs#2451 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apify/apify-docs
Issue tương tự
-
[bug] extension mappingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
bug code-annotation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
521xueweihan/HelloGitHub#4133 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Hugo-SA/receita-random#20 ·
Maintainer thường phản hồi trong vòng 1 ngày