Skip to content

Commit 0e0105d

Browse files
send: remove expensive debug metrics
1 parent df2d2e2 commit 0e0105d

File tree

7 files changed

+95
-154
lines changed

7 files changed

+95
-154
lines changed

book/api/metrics-generated.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
| <span class="metrics-name">pack_&#8203;transaction_&#8203;inserted_&#8203;from_&#8203;extra</span> | counter | Transactions pulled from the extra transaction storage and inserted into pack's primary storage |
316316
| <span class="metrics-name">pack_&#8203;transaction_&#8203;expired</span> | counter | Transactions deleted from pack because their TTL expired |
317317
| <span class="metrics-name">pack_&#8203;transaction_&#8203;deleted</span> | counter | Transactions dropped from pack because they were requested to be deleted |
318-
| <span class="metrics-name">pack_&#8203;transaction_&#8203;already_&#8203;executed</span> | counter | Transactions dropped from pack because they were already executed in the replay pipeline |
318+
| <span class="metrics-name">pack_&#8203;transaction_&#8203;already_&#8203;executed</span> | counter | Transactions dropped from pack because they were already executed (in either the replay or leader pipeline) |
319319
| <span class="metrics-name">pack_&#8203;transaction_&#8203;dropped_&#8203;partial_&#8203;bundle</span> | counter | Transactions dropped from pack because they were part of a partial bundle |
320320
| <span class="metrics-name">pack_&#8203;available_&#8203;transactions</span><br/>{avail_&#8203;txn_&#8203;type="<span class="metrics-enum">all</span>"} | gauge | The total number of pending transactions in pack's pool that are available to be scheduled (All transactions in any treap) |
321321
| <span class="metrics-name">pack_&#8203;available_&#8203;transactions</span><br/>{avail_&#8203;txn_&#8203;type="<span class="metrics-enum">regular</span>"} | gauge | The total number of pending transactions in pack's pool that are available to be scheduled (Non-votes in the main treap) |
@@ -770,8 +770,6 @@
770770
| <span class="metrics-name">send_&#8203;handshake_&#8203;complete</span><br/>{send_&#8203;quic_&#8203;ports="<span class="metrics-enum">quic_&#8203;tpu</span>"} | counter | Total number of times we completed a handshake (QUIC TPU port) |
771771
| <span class="metrics-name">send_&#8203;quic_&#8203;conn_&#8203;final</span><br/>{send_&#8203;quic_&#8203;ports="<span class="metrics-enum">quic_&#8203;vote</span>"} | counter | Total number of times QUIC connection closed (QUIC Vote port) |
772772
| <span class="metrics-name">send_&#8203;quic_&#8203;conn_&#8203;final</span><br/>{send_&#8203;quic_&#8203;ports="<span class="metrics-enum">quic_&#8203;tpu</span>"} | counter | Total number of times QUIC connection closed (QUIC TPU port) |
773-
| <span class="metrics-name">send_&#8203;staked_&#8203;no_&#8203;ci</span> | gauge | Last counted # staked accounts without contact info |
774-
| <span class="metrics-name">send_&#8203;stale_&#8203;ci</span> | gauge | Last counted # staked accounts with stale contact info |
775773
| <span class="metrics-name">send_&#8203;received_&#8203;packets</span> | counter | Total count of QUIC packets received |
776774
| <span class="metrics-name">send_&#8203;received_&#8203;bytes</span> | counter | Total bytes received via QUIC |
777775
| <span class="metrics-name">send_&#8203;sent_&#8203;packets</span> | counter | Total count of QUIC packets sent |

src/disco/metrics/generated/fd_metrics_pack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_OFF (161UL)
147147
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_NAME "pack_transaction_already_executed"
148148
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_TYPE (FD_METRICS_TYPE_COUNTER)
149-
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_DESC "Transactions dropped from pack because they were already executed in the replay pipeline"
149+
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_DESC "Transactions dropped from pack because they were already executed (in either the replay or leader pipeline)"
150150
#define FD_METRICS_COUNTER_PACK_TRANSACTION_ALREADY_EXECUTED_CVT (FD_METRICS_CONVERTER_NONE)
151151

152152
#define FD_METRICS_COUNTER_PACK_TRANSACTION_DROPPED_PARTIAL_BUNDLE_OFF (162UL)

src/disco/metrics/generated/fd_metrics_send.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ const fd_metrics_meta_t FD_METRICS_SEND[FD_METRICS_SEND_TOTAL] = {
5353
DECLARE_METRIC_ENUM( SEND_HANDSHAKE_COMPLETE, COUNTER, SEND_QUIC_PORTS, QUIC_TPU ),
5454
DECLARE_METRIC_ENUM( SEND_QUIC_CONN_FINAL, COUNTER, SEND_QUIC_PORTS, QUIC_VOTE ),
5555
DECLARE_METRIC_ENUM( SEND_QUIC_CONN_FINAL, COUNTER, SEND_QUIC_PORTS, QUIC_TPU ),
56-
DECLARE_METRIC( SEND_STAKED_NO_CI, GAUGE ),
57-
DECLARE_METRIC( SEND_STALE_CI, GAUGE ),
5856
DECLARE_METRIC( SEND_RECEIVED_PACKETS, COUNTER ),
5957
DECLARE_METRIC( SEND_RECEIVED_BYTES, COUNTER ),
6058
DECLARE_METRIC( SEND_SENT_PACKETS, COUNTER ),

0 commit comments

Comments
 (0)