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

feat: show every public network metric on the stats page

Đang mở
#71 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/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ệ
typescript

Hướng nghiên cứu

Start by inspecting the existing public stats page and how it reads stats-421614.json from data.decdn.org; the issue does not name source files or tests. Compare the current cards with the listed metrics already present in the stats file, then follow the existing loading, error, unindexed and catching-up patterns. Done means the public page shows all available metrics and daily history, tracks missing sources as follow-up issues, and passes the stated typecheck and lint commands.

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

Mô tả

feature frontend indexer

Show every public network metric on a page anyone can open without logging in. stats.decdn.org is already public and static (it reads stats-421614.json from data.decdn.org), so this extends it to cover all metrics we have, rather than adding a new app.

Already in the stats file: value settled, bytes served (bandwidth), settlement count, registered nodes (with operator and region), pool count (poolOwners), per-region bytes served/pulled and cache hit, 92 days of daily buckets, recent settlements.

Missing data sources (need an indexer event, contract read or API):

  • Storage capacity / storage used — no indexed event carries it
  • Request count — only bytes are settled, not requests
  • Node uptime / availability — no heartbeat or uptime signal is indexed
  • Pool balances and status — only PoolOpened owner and PoolRedeemed bytes are indexed

Acceptance criteria

  • Page is reachable without authentication
  • Shows every metric already in the stats file, including total pools and the daily history
  • Each metric has loading, error, unindexed and catching-up states, like the existing cards
  • Missing metrics are tracked as follow-up issues (indexer or API) rather than shown with placeholder data
  • pnpm typecheck && pnpm lint pass
Ngôn ngữ chính
TypeScript
Star
2
Fork
0
Merge trung bình
10 giờ 46 phút
Pull request đã merge (30 ngày)
37

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 decdn/stats

Tất cả issue của decdn/stats

Issue tương tự

Thêm issue về TypeScript

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.