Skip to content

Commit 869b44f

Browse files
committed
gossip, gui: ingress crds throughput
1 parent 8e2b393 commit 869b44f

File tree

11 files changed

+402
-82
lines changed

11 files changed

+402
-82
lines changed

book/api/metrics-generated.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,62 @@
612612
| <span class="metrics-name">gossip_&#8203;message_&#8203;tx_&#8203;bytes</span><br/>{gossip_&#8203;message="<span class="metrics-enum">prune</span>"} | counter | (Prune) |
613613
| <span class="metrics-name">gossip_&#8203;message_&#8203;tx_&#8203;bytes</span><br/>{gossip_&#8203;message="<span class="metrics-enum">ping</span>"} | counter | (Ping) |
614614
| <span class="metrics-name">gossip_&#8203;message_&#8203;tx_&#8203;bytes</span><br/>{gossip_&#8203;message="<span class="metrics-enum">pong</span>"} | counter | (Pong) |
615+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v1</span>"} | counter | (Contact Info V1) |
616+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">vote</span>"} | counter | (Vote) |
617+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">lowest_&#8203;slot</span>"} | counter | (Lowest Slot) |
618+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">snapshot_&#8203;hashes</span>"} | counter | (Snapshot Hashes) |
619+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">accounts_&#8203;hashes</span>"} | counter | (Accounts Hashes) |
620+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">epoch_&#8203;slots</span>"} | counter | (Epoch Slots) |
621+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v1</span>"} | counter | (Version V1) |
622+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v2</span>"} | counter | (Version V2) |
623+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">node_&#8203;instance</span>"} | counter | (Node Instance) |
624+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">duplicate_&#8203;shred</span>"} | counter | (Duplicate Shred) |
625+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">incremental_&#8203;snapshot_&#8203;hashes</span>"} | counter | (Incremental Snapshot Hashes) |
626+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v2</span>"} | counter | (Contact Info V2) |
627+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;last_&#8203;voted_&#8203;fork_&#8203;slots</span>"} | counter | (Restart Last Voted Fork Slots) |
628+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;heaviest_&#8203;fork</span>"} | counter | (Restart Heaviest Fork) |
629+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v1</span>"} | counter | (Contact Info V1) |
630+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">vote</span>"} | counter | (Vote) |
631+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">lowest_&#8203;slot</span>"} | counter | (Lowest Slot) |
632+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">snapshot_&#8203;hashes</span>"} | counter | (Snapshot Hashes) |
633+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">accounts_&#8203;hashes</span>"} | counter | (Accounts Hashes) |
634+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">epoch_&#8203;slots</span>"} | counter | (Epoch Slots) |
635+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v1</span>"} | counter | (Version V1) |
636+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v2</span>"} | counter | (Version V2) |
637+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">node_&#8203;instance</span>"} | counter | (Node Instance) |
638+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">duplicate_&#8203;shred</span>"} | counter | (Duplicate Shred) |
639+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">incremental_&#8203;snapshot_&#8203;hashes</span>"} | counter | (Incremental Snapshot Hashes) |
640+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v2</span>"} | counter | (Contact Info V2) |
641+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;last_&#8203;voted_&#8203;fork_&#8203;slots</span>"} | counter | (Restart Last Voted Fork Slots) |
642+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;push_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;heaviest_&#8203;fork</span>"} | counter | (Restart Heaviest Fork) |
643+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v1</span>"} | counter | (Contact Info V1) |
644+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">vote</span>"} | counter | (Vote) |
645+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">lowest_&#8203;slot</span>"} | counter | (Lowest Slot) |
646+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">snapshot_&#8203;hashes</span>"} | counter | (Snapshot Hashes) |
647+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">accounts_&#8203;hashes</span>"} | counter | (Accounts Hashes) |
648+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">epoch_&#8203;slots</span>"} | counter | (Epoch Slots) |
649+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v1</span>"} | counter | (Version V1) |
650+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v2</span>"} | counter | (Version V2) |
651+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">node_&#8203;instance</span>"} | counter | (Node Instance) |
652+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">duplicate_&#8203;shred</span>"} | counter | (Duplicate Shred) |
653+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">incremental_&#8203;snapshot_&#8203;hashes</span>"} | counter | (Incremental Snapshot Hashes) |
654+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v2</span>"} | counter | (Contact Info V2) |
655+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;last_&#8203;voted_&#8203;fork_&#8203;slots</span>"} | counter | (Restart Last Voted Fork Slots) |
656+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;heaviest_&#8203;fork</span>"} | counter | (Restart Heaviest Fork) |
657+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v1</span>"} | counter | (Contact Info V1) |
658+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">vote</span>"} | counter | (Vote) |
659+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">lowest_&#8203;slot</span>"} | counter | (Lowest Slot) |
660+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">snapshot_&#8203;hashes</span>"} | counter | (Snapshot Hashes) |
661+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">accounts_&#8203;hashes</span>"} | counter | (Accounts Hashes) |
662+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">epoch_&#8203;slots</span>"} | counter | (Epoch Slots) |
663+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v1</span>"} | counter | (Version V1) |
664+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">version_&#8203;v2</span>"} | counter | (Version V2) |
665+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">node_&#8203;instance</span>"} | counter | (Node Instance) |
666+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">duplicate_&#8203;shred</span>"} | counter | (Duplicate Shred) |
667+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">incremental_&#8203;snapshot_&#8203;hashes</span>"} | counter | (Incremental Snapshot Hashes) |
668+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v2</span>"} | counter | (Contact Info V2) |
669+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;last_&#8203;voted_&#8203;fork_&#8203;slots</span>"} | counter | (Restart Last Voted Fork Slots) |
670+
| <span class="metrics-name">gossip_&#8203;crds_&#8203;rx_&#8203;pull_&#8203;response_&#8203;bytes</span><br/>{crds_&#8203;value="<span class="metrics-enum">restart_&#8203;heaviest_&#8203;fork</span>"} | counter | (Restart Heaviest Fork) |
615671
| <span class="metrics-name">gossip_&#8203;crds_&#8203;tx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">contact_&#8203;info_&#8203;v1</span>"} | counter | (Contact Info V1) |
616672
| <span class="metrics-name">gossip_&#8203;crds_&#8203;tx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">vote</span>"} | counter | (Vote) |
617673
| <span class="metrics-name">gossip_&#8203;crds_&#8203;tx_&#8203;push_&#8203;count</span><br/>{crds_&#8203;value="<span class="metrics-enum">lowest_&#8203;slot</span>"} | counter | (Lowest Slot) |

book/api/websocket.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,8 @@ which is specified below.
13701370
"expired_total": 1234,
13711371
"evicted_total": 0,
13721372
"count": [0, 10608, 95, ...],
1373+
"count_rx": [0, 10608, 95, ...],
1374+
"bytes_rx": [0, 9827342, 9723, ...],
13731375
"count_tx": [0, 10608, 95, ...],
13741376
"bytes_tx": [0, 9827342, 9723, ...],
13751377
},
@@ -1421,6 +1423,8 @@ which is specified below.
14211423
| expired_total | `number` | The cumulative number of Gossip Table entries that have expired and been removed |
14221424
| evicted_total | `number` | The cumulative number of Gossip Table entries that have been evicted due to insufficient space |
14231425
| count | `number[]` | `count[i]` is the number of currently active `table_entries[i]` entries currently in the Gossip Table |
1426+
| count_rx | `number[]` | `count_rx[i]` is the number of successful and failed ingress `table_entries[i]` entries received until now |
1427+
| bytes_rx | `number[]` | `bytes_rx[i]` is the number of successful and failed ingress `table_entries[i]` bytes received until now |
14241428
| count_tx | `number[]` | `count_tx[i]` is the number of egress `table_entries[i]` entries transmitted until now |
14251429
| bytes_tx | `number[]` | `bytes_tx[i]` is the number of egress `table_entries[i]` bytes transmitted until now |
14261430

0 commit comments

Comments
 (0)