aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats/prometheus.rs
Commit message (Collapse)AuthorAgeFilesLines
* swarm: no SIGNATUREStv2 days1-1/+0
| | | | | | | | | | | | | | Signatures sent on their own (SIGNATURES, every second, to each peer not sent them yet) flooded every link: a signature made after its change left, or one that came with changes, went to every neighbour, whether or not it got the change along with its signature elsewhere. With every change of a node signed as it leaves (1217) and signatures going where their changes go (1218), none is left for them to carry: the message, its task and its traffic counter go (wire version 46). Signatures waiting for their changes are offered as before when sync messages bring them, and the changes waiting for signatures judged again with the next batch.
* refusals: a drop taking much waits for a second member, and showstv3 days1-0/+6
| | | | | | | | | | | | | | | | | | 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 wholetv4 days1-0/+6
| | | | | | | | | 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).
* signatures: on their own (SIGNATURES)tv4 days1-0/+1
| | | | | | | Signatures no sync message took go on their own within a second, to each peer not sent them yet (wire version bumped). Auth plan M5.
* dashboard: without LINKS; LINKS removedtv4 days1-1/+0
| | | | | | | | | The dashboard reads every member's links from the members themselves; LINKS and LINKS_REPLY, swarm::links and their wire tags go (wire version bumped). Nodes the browser can't reach are drawn from what the reachable ones measure. Auth plan M3.
* HyParView (slim)tv5 days1-0/+1
|
* plumtreetv5 days1-0/+1
|
* indirect probestv5 days1-0/+1
|
* handshakes countedtv5 days1-1/+6
|
* trees at runtimetv5 days1-0/+12
|
* asked again countertv6 days1-1/+6
|
* neigbours by transporttv6 days1-0/+12
|
* own tree shapetv6 days1-0/+26
|
* drop full mesh stattv6 days1-6/+0
|
* announcement round counterstv8 days1-0/+12
|
* replace eager links by treestv8 days1-15/+3
|
* add eager link counterstv8 days1-0/+18
|
* propagate clock figurestv11 days1-2/+2
|
* add peer clock skew warningtv11 days1-0/+22
|
* calculate peer clock drifttv11 days1-0/+32
|
* api: unify media-type strippingtv11 days1-4/+5
|
* prometheus: add histogram helpertv11 days1-40/+39
|
* prometheus: build per-peer series from /peerstv11 days1-44/+26
|
* measure every path in usetv12 days1-2/+2
|
* track connection type per pathtv12 days1-0/+13
|
* add links messagestv12 days1-0/+1
| | | | | | | | | Introduce two new wire messages, LINKS and LINKS_REPLY (swarm::links). A member answers with its links: for each peer, the transport, whether it’s relayed, the RTT, and whether it’s dormant. It answers members only, at most every 5 s. This bumps wire::VERSION to 7. Every build answers, with or without the feature, so every node needs this patch before the map shows anything beyond its own node.
* introduce relay only modetv14 days1-0/+19
|
* peers from member list start as unknowntv14 days1-0/+10
|
* add document lock statstv2026-10-281-0/+88
|
* drop peer.rttMs from /peers APItv2026-10-281-16/+0
|
* get swarm RTT from pathstv2026-10-281-1/+1
|
* don't sample lost PONGstv2026-10-281-1/+1
|
* measure pathstv2026-10-281-4/+72
|
* rename PING/PONG to STATUS/STATUS_REPLYtv2026-10-281-2/+2
|
* add transport statstv2026-10-271-0/+174
|
* admit nodeId and addresses in the APItv2026-10-271-6/+2
|
* add identity layertv2026-10-271-0/+1
|
* add delta blobstv2026-10-261-0/+6
|
* make clippy happy againtv2026-10-261-1/+4
|
* add sync and relay statstv2026-10-261-0/+68
|
* add remake statstv2026-10-261-0/+46
|
* unify peers snapshot logictv2026-10-261-7/+1
|
* unify lock logictv2026-10-261-2/+2
|
* allow to persist documenttv2026-10-251-26/+46
|
* add files module to consistently track statstv2026-10-251-25/+28
|
* add disk I/O statstv2026-10-251-0/+26
|
* add chunked download and use it during rejointv2026-10-241-0/+1
|
* add node aliasestv2026-10-241-0/+35
|
* expose stats for prometheus to scrapetv2026-10-241-0/+486