Commit 43e7cc6
committed
chore(skills): graph gossip arrival timing in the client dashboard
#566 added `lean_gossip_*_arrival_delay_seconds` and `lean_gossip_*_arrival_total`,
which answer "are votes arriving late, or not arriving at all?" from inside each
node. Nothing graphed them, so answering it still meant an out-of-band
event-monitor run against a collector clock.
Adds a "Gossip Arrival Timing" row to `client-dashboard.json`: a 3x4 grid, one
column per message kind (block / attestation / aggregate), one row per view.
- delay p99/p50 per node, with a dashed line at one interval (0.8s): above it the
typical message misses the interval it was due in
- delay distribution heatmap, which exposes the bimodal profile that percentiles
average away
- arrival position stacked by `position`, the only view that recovers the sign the
absolute-value histogram discards (rising `before` is clock skew, rising `after`
is propagation or CPU). The aggregate panel omits `before`, unreachable by
construction since aggregates anchor to the latest aggregation-interval boundary
rather than their own data slot
- on-time fraction per node, so one late node separates from a fleet-wide drop
All 15 queries were run against the central Prometheus before committing.
Also adds a receiver-side timing block to the node-health checklist, whose item 5
covered only the node's own duties, and corrects where dashboards get deployed:
the JSONs live in the host dir bind-mounted at `/var/lib/grafana/dashboards`, not
in `<GRAFANA_PROV_DIR>/dashboards`, which holds only the provider yaml. A JSON
dropped in the provisioning tree is silently ignored, which reads as a working
copy that never appears. Recorded as `GRAFANA_DASHBOARDS_DIR`.1 parent 55dccc3 commit 43e7cc6
5 files changed
Lines changed: 1437 additions & 21 deletions
File tree
- .claude/skills/multi-server-devnet
- references
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
220 | 237 | | |
221 | 238 | | |
222 | 239 | | |
| |||
368 | 385 | | |
369 | 386 | | |
370 | 387 | | |
371 | | - | |
372 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
373 | 391 | | |
374 | 392 | | |
375 | 393 | | |
376 | | - | |
| 394 | + | |
377 | 395 | | |
378 | 396 | | |
379 | 397 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
239 | 257 | | |
240 | 258 | | |
241 | 259 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
| |||
0 commit comments