aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats.rs
Commit message (Collapse)AuthorAgeFilesLines
* swarm: members read of a set's entries over the document'stv16 hours1-1/+1
| | | | | | | | What a set hands the node to read was read in the document's place; it is read over it now (view::Listed): at a path, what the set's tree holds, else what the document does, and maps of both as one. A node on a set alone reads the same as before, its document being empty; one holding its store in both, to come, reads the members of both.
* swarm: members read of where the node's document keeps themtv19 hours1-5/+3
| | | | | | | | | | | The swarm reads its members, their addresses, aliases, parties, tiers and links, at _continuum/members of the document the node holds. Where the node's document keeps them apart and hands them over as a tree (AppState::entries: a set of events, Holding::entries), they are read of that (view::members_of): by the topology, the node's registration, stability, working links, the state file's seeds, reach, and the API's aliases, dashboards and tier. No node's document does so yet but one whose store a set carries, which none starts as.
* document: screening what is received is the document's, the rules access ↵tv2 days1-1/+1
| | | | | | | | | control's access::screen becomes document::screen: reading received bytes as changes, putting them in order, keeping those that wait or are refused, vouching by signatures and applying is all Automerge's shape, and has each change judged by the rules (access::rules) before it applies it.
* stats: the writers of the documenttv2026-11-091-0/+4
| | | | | | | | | | | How many writers (Automerge actors) the document's changes have matters: a writer is a node's run (each start, rejoin or drop makes one, a start keeping the one of before with `--keep-actor` after a clean stop), and every transfer of the whole history carries a signature for each. `/admin/stats` now says it (`document.writers`, and `document_writers` for Prometheus), counted from the changes' metadata alongside the saved size's measurement in the background (at least a minute apart), as that takes time proportional to the document too; an export, which measures the size alone, keeps the count of before. The dashboard's figures show it with the rest.
* refusals: a drop taking much waits for a second member, and showstv2026-11-081-0/+8
| | | | | | | | | | | | | | | | | | A node told (REFUSALS) that it holds a change the swarm's rules refuse, and whose own rules refuse it too, dropped it and everything built on it on one peer's word, however much that was; its own writes among them went to the quarantine, the others' nowhere. * A drop taking more than 100 changes, or more than ten and a tenth of the document, now waits until a second member names the same change: the node's rules and one peer's word could both be off. Logged as an error, counted in /admin/stats (sync.dropsHeld). * The others' changes dropped are listed with the refused (GET /admin/refused, "taken unjudged, dropped"), for operators to see. The cheap half of asking the others (future-work.md, Telling a malicious change from a wrong policy).
* access: members refused as a wholetv2026-11-071-0/+8
| | | | | | | | | With signatures required, a member whose own change broke a rule is refused as a whole: sent nothing, shown in /peers (refused), in stats (sync.refusedPeers) and on the dashboard, until a change of its is taken again or the epoch changes. Auth plan M6 (diverged standing).
* trees at runtimetv2026-11-061-0/+7
|
* swarm neighbourstv2026-11-061-1/+1
|
* neigbours by transporttv2026-11-051-0/+3
|
* own tree shapetv2026-11-051-0/+25
|
* drop full mesh stattv2026-11-051-2/+0
|
* announcement round counterstv2026-11-031-0/+6
|
* replace eager links by treestv2026-11-031-8/+3
|
* add eager link counterstv2026-11-031-0/+8
|
* propagate clock figurestv2026-10-311-2/+3
|
* add peer clock skew warningtv2026-10-311-1/+15
|
* replace EpochInfo by EpochRecordtv2026-10-311-2/+3
|
* compute per-peer totals in /admin/stats oncetv2026-10-311-13/+15
|
* prometheus: build per-peer series from /peerstv2026-10-311-1/+2
|
* build stats and peers as valuestv2026-10-301-1/+2
| | | | | | Both /admin/stats and /peers can now be built as plain values (stats::collect, peers::peer_list), so the upcoming dashboard can reuse them.
* introduce relay only modetv2026-10-281-0/+46
|
* add document lock statstv2026-10-281-0/+4
|
* add transport statstv2026-10-271-0/+4
|
* admit nodeId and addresses in the APItv2026-10-271-2/+5
|
* add delta blobstv2026-10-261-0/+4
|
* add sync and relay statstv2026-10-261-3/+46
|
* add remake statstv2026-10-261-2/+39
|
* allow to persist documenttv2026-10-251-0/+4
|
* add files module to consistently track statstv2026-10-251-9/+21
|
* add disk I/O statstv2026-10-251-0/+18
|
* cache headstv2026-10-241-2/+2
| | | | To reduce the number of write locks, heads are now cached.
* add node aliasestv2026-10-241-0/+4
|
* expose stats for prometheus to scrapetv2026-10-241-7/+28
|
* add propagation statstv2026-10-241-0/+31
|
* add per peer incident statstv2026-10-241-1/+10
|
* expose stats via the APItv2026-10-241-0/+134
GET /admin/stats to retrieve all stats.