feat: mark Labs nodes and pools, and show external nodes and external bytes as their own counters
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with wrangler.jsonc, the stats serialization and validation path using asStats and emptyLabel, and the metrics and settlements page; read #65 for the existing external-paid metric. Then update website/lib/stats.ts to accept the additive fields in the same release window. Done means internal operators and owners are published consistently, node and byte counters have hourly and daily points, and the page shows the split, Labs tags, and copy.
索引モデルが issue の本文から書いたものです。
説明
Problem
The page says 9 registered nodes. Most are ours. It does not say so, and a reader who finds out later trusts nothing else on the page. The same applies to pools: #65 adds "bytes paid by non-operator pools", but a Labs pool that is not a registered operator (the smoke-test buyer) still counts as external there.
Proposal
Mark Labs-run nodes and Labs-owned pools, and show external figures as their own counters:
- Config.
INTERNAL_OPERATORSandINTERNAL_OWNERSlists inwrangler.jsonc(addresses, lower-case), maintained from the fleet inventory (decdn/fleet). Both ship in the published JSON (internal: { operators: [...], owners: [...] }) so the page and anyone reading the file apply the same classification. - Nodes.
nodes[].internal: truefor a registered operator in the list. The by-region table shows "9 nodes (6 Labs, 3 external)"; the header liveness figure gets the same split. - Bytes.
totals.externalBytesServed(Settled by an external operator) alongside the external-paid figure from #65 (PoolRedeemedfrom a pool whose owner is neither an operator nor inINTERNAL_OWNERS). Both get hourly and daily points like the headline metrics. - Settlements table. A "Labs" tag on internal operator rows.
- Copy. One line under the metrics: "Labs runs N of the nodes; external counters exclude them and the pools we fund." Lowercase,
type-micro, as the page does.
Empty states follow the existing emptyLabel switch per block; asStats validates the new fields; website/lib/stats.ts (decdn/website) shape-checks the same file, so land the additive fields there in the same window.
Related
- External-paid metric: #65
- Real mirror that makes the external line move (decdn/fleet): decdn/fleet#44
- 主要言語
- TypeScript
- スター
- 2
- フォーク
- 0
- 平均マージ
- 10時間 46分
- マージ済み PR(30日)
- 37
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
decdn/stats のほかの issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
feature frontend indexer
難易度 5/5 1週間以上 初心者へのやさしさ 39/100
メンテナーはふだん 1 日以内に返信
-
feature frontend indexer
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
feat: add a world map of nodes by region対応中かも @yigitdot が 30 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Northeastern-Electric-Racing/FinishLine#4660 ·
メンテナーはふだん 2 日以内に返信
-
BeOS .json missingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mihaip/infinite-mac#475 ·
-
Let TypeScript accept an initial object in ReactiveDict対応中かも @yograj-vijay-yadav が今日担当しました。 オープンbug good first issue help wanted workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
meteor/meteor#14919 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
marmelab/atomic-crm#401 ·
メンテナーはふだん 1 日以内に返信
-
account: profile
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 5 日以内に返信