Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Count AI agent requests to docs.apify.com at the CDN, as apify.com does

Đang mở
#3,063 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

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ả

low priority t-web

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 .md URL or Accept: 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: 86400 in apify-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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apify/apify-docs

Tất cả issue của apify/apify-docs

Issue tương tự

Thêm issue về JavaScript

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.