feat: show every public network metric on the stats page
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
- Lĩnh vực
- data-visualization, frontend
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ả
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
PoolOpenedowner andPoolRedeemedbytes 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 lintpass
- 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
- Đọ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 decdn/stats
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: look up a pool by idĐang mởfeature frontend indexer
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 39/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: mark Labs nodes and pools, and show external nodes and external bytes as their own countersĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
decdn/stats#65 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: add a world map of nodes by regionCó thể đã có người làm @yigitdot đã nhận 30 ngày trước. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
components-web-app/docs#311 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NEARBuilders/everything-dev#678 ·
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 90/100
formbricks/formbricks#9881 ·
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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày