feat: mark Labs nodes and pools, and show external nodes and external bytes as their own counters
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- data-visualization, full-stack
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 0
- Merge medio
- 10h 46m
- PR unite (30g)
- 37
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di decdn/stats
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
feat: look up a pool by idApertafeature frontend indexer
Difficoltà 5/5 Più di una settimana Idoneità per principianti 39/100
I maintainer di solito rispondono entro 1 giorno
-
feature frontend indexer
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
I maintainer di solito rispondono entro 1 giorno
-
feat: add a world map of nodes by regionForse già presa @yigitdot l’ha presa 32 giorni fa. Apertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
oxidecomputer/skepsis#102 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
voidzero-dev/void#677 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kunchenguid/gh-axi#247 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lidge-jun/opencodex#8101 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno