Repository navigation
feat: show aggregates per slot and per epoch with their aggregators and timing - #949
barnabasbusa wants to merge 13 commits into
Conversation
…redundant, not missing
There was a problem hiding this comment.
Summary
The PR adds gossip-aggregate propagation to the slot and epoch propagation views, and the two new commits add a per-client/per-node epoch drill-down, per-column explanations and full-width layout; the earlier colspan mismatch in the slot aggregate table is now correct (3/4 leading cells + 8 spans match the 11/12 headers). Three earlier findings still hold: the epoch scatter clips aggregates seen before the send time, a failed aggregate query is cached as "no aggregates", and empty-but-non-nil arrivals mark every committee as saturated.
Issues
- 🟡
templates/_shared/arrival_chart.html:611— epoch aggregate dots before the deadline-500ms are clipped out of the chart — see the thread on that line - 🟡
handlers/slot_attesters.go:418— a failed aggregate query is cached as "no aggregates" for the full page timeout — see the thread on that line - 🟡
handlers/aggregates.go:279— empty-but-non-nil arrivals make every committee look saturated — see the thread on that line
Reviewed @ a6bbfb63
When threatened, a red panda stands on its hind legs to look bigger. It does not look bigger.
| included := position < len(members) && members[position] | ||
| seenMs, seen := arrivals[index] | ||
|
|
||
| if !included && (arrivals == nil || seen) { |
There was a problem hiding this comment.
🟡 empty-but-non-nil arrivals make every committee look saturated
When the arrival query succeeds but returns no rows, arrivals is an empty map, so seen is false for every member and coversSeen never becomes false — an aggregate covering a single member marks the whole committee saturated and every elected aggregator without an aggregate is reported as "redundant / not relayed" instead of "not seen". Only the nil case (no arrival data at all) is treated as unknown, so the two representations of "no singles seen" give opposite labels.
…aries and explain every column
…columns and tint slots with missing aggregators
SummaryThe PR adds xatu gossip aggregates to the slot and epoch propagation views, and the latest commit replaces hover re-renders with in-place focus, splits the aggregate table styling and tints slots with unhit elected aggregators. The rendering changes in that commit hold up, but three earlier issues remain: the epoch scatter's lower bound clips early aggregates, both builders cache a failed aggregate query as an empty result, and the nil-vs-empty arrivals distinction at the coverage check does not do what it says. Issues
Reviewed @ |
…every arrival table and drop the elected column
The propagation views show when single attestations arrive but say nothing about the aggregates built from them, so a slow or silent aggregator client is invisible. This adds every gossip aggregate from xatu's `libp2p_gossipsub_aggregate_and_proof` (aggregator index, committee, bits, size) to the slot propagation tab, as a per-committee timeline and a table with first seen, delay against the aggregate deadline, the median over the nodes whose beacon API reported the same aggregate (matched by bits from `beacon_api_eth_v1_events_attestation`), committee coverage, the latest included single attestation, attestations left out and size. The epoch page gets the sum over all aggregates: one dot per aggregate by slot and arrival time, and a per aggregator client table with counts, p50/p90 and how often it was more than 1s late. `electedAggregators` returns nothing here; forks that publish aggregators ahead (pq's `aggregation_committee_window`) fill it in to mark elected aggregators that sent no aggregate. xatu writes the gossip
aggregation_bitswithout the bitlist length bit (ethpandaops/xatu#974), so they are read as raw member bits up to the committee size, which stays correct once it writes the full bitlist.