Line data Source code
1 : /* THIS FILE IS GENERATED BY gen_metrics.py. DO NOT HAND EDIT. */ 2 : 3 : #include "../fd_metrics_base.h" 4 : #include "fd_metrics_enums.h" 5 : 6 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_SANITIZE_FAILURE_OFF (16UL) 7 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_SANITIZE_FAILURE_NAME "bank_transaction_sanitize_failure" 8 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_SANITIZE_FAILURE_TYPE (FD_METRICS_TYPE_COUNTER) 9 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_SANITIZE_FAILURE_DESC "Number of transactions that failed to sanitize." 10 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_SANITIZE_FAILURE_CVT (FD_METRICS_CONVERTER_NONE) 11 : 12 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_NOT_EXECUTED_FAILURE_OFF (17UL) 13 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_NOT_EXECUTED_FAILURE_NAME "bank_transaction_not_executed_failure" 14 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_NOT_EXECUTED_FAILURE_TYPE (FD_METRICS_TYPE_COUNTER) 15 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_NOT_EXECUTED_FAILURE_DESC "Number of transactions that did not execute. This is different than transactions which fail to execute, which make it onto the chain." 16 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_NOT_EXECUTED_FAILURE_CVT (FD_METRICS_CONVERTER_NONE) 17 : 18 0 : #define FD_METRICS_COUNTER_BANK_PRECOMPILE_VERIFY_FAILURE_OFF (18UL) 19 : #define FD_METRICS_COUNTER_BANK_PRECOMPILE_VERIFY_FAILURE_NAME "bank_precompile_verify_failure" 20 : #define FD_METRICS_COUNTER_BANK_PRECOMPILE_VERIFY_FAILURE_TYPE (FD_METRICS_TYPE_COUNTER) 21 : #define FD_METRICS_COUNTER_BANK_PRECOMPILE_VERIFY_FAILURE_DESC "Number of transactions that failed precompile verification and thus will not execute." 22 : #define FD_METRICS_COUNTER_BANK_PRECOMPILE_VERIFY_FAILURE_CVT (FD_METRICS_CONVERTER_NONE) 23 : 24 0 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_OFF (19UL) 25 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_NAME "bank_slot_acquire" 26 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_TYPE (FD_METRICS_TYPE_COUNTER) 27 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_DESC "Result of acquiring a slot." 28 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_CVT (FD_METRICS_CONVERTER_NONE) 29 0 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_CNT (3UL) 30 : 31 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_SUCCESS_OFF (19UL) 32 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_TOO_HIGH_OFF (20UL) 33 : #define FD_METRICS_COUNTER_BANK_SLOT_ACQUIRE_TOO_LOW_OFF (21UL) 34 : 35 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_OFF (22UL) 36 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_NAME "bank_transaction_load_address_tables" 37 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_TYPE (FD_METRICS_TYPE_COUNTER) 38 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_DESC "Result of loading address lookup tables for a transaction. If there are multiple errors for the transaction, only the first one is reported." 39 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_CVT (FD_METRICS_CONVERTER_NONE) 40 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_CNT (6UL) 41 : 42 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_SUCCESS_OFF (22UL) 43 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_SLOT_HASHES_SYSVAR_NOT_FOUND_OFF (23UL) 44 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_ACCOUNT_NOT_FOUND_OFF (24UL) 45 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_INVALID_ACCOUNT_OWNER_OFF (25UL) 46 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_INVALID_ACCOUNT_DATA_OFF (26UL) 47 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_LOAD_ADDRESS_TABLES_INVALID_INDEX_OFF (27UL) 48 : 49 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_OFF (28UL) 50 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_NAME "bank_transaction_result" 51 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_TYPE (FD_METRICS_TYPE_COUNTER) 52 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_DESC "Result of loading and executing a transaction." 53 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_CVT (FD_METRICS_CONVERTER_NONE) 54 0 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_CNT (39UL) 55 : 56 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_SUCCESS_OFF (28UL) 57 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ACCOUNT_IN_USE_OFF (29UL) 58 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ACCOUNT_LOADED_TWICE_OFF (30UL) 59 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ACCOUNT_NOT_FOUND_OFF (31UL) 60 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_PROGRAM_ACCOUNT_NOT_FOUND_OFF (32UL) 61 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INSUFFICIENT_FUNDS_FOR_FEE_OFF (33UL) 62 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_ACCOUNT_FOR_FEE_OFF (34UL) 63 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ALREADY_PROCESSED_OFF (35UL) 64 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_BLOCKHASH_NOT_FOUND_OFF (36UL) 65 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INSTRUCTION_ERROR_OFF (37UL) 66 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_CALL_CHAIN_TOO_DEEP_OFF (38UL) 67 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_MISSING_SIGNATURE_FOR_FEE_OFF (39UL) 68 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_ACCOUNT_INDEX_OFF (40UL) 69 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_SIGNATURE_FAILURE_OFF (41UL) 70 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_PROGRAM_FOR_EXECUTION_OFF (42UL) 71 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_SANITIZE_FAILURE_OFF (43UL) 72 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_CLUSTER_MAINTENANCE_OFF (44UL) 73 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ACCOUNT_BORROW_OUTSTANDING_OFF (45UL) 74 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_WOULD_EXCEED_MAX_BLOCK_COST_LIMIT_OFF (46UL) 75 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_UNSUPPORTED_VERSION_OFF (47UL) 76 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_WRITABLE_ACCOUNT_OFF (48UL) 77 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT_OFF (49UL) 78 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT_OFF (50UL) 79 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_TOO_MANY_ACCOUNT_LOCKS_OFF (51UL) 80 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_ADDRESS_LOOKUP_TABLE_NOT_FOUND_OFF (52UL) 81 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_ADDRESS_LOOKUP_TABLE_OWNER_OFF (53UL) 82 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_ADDRESS_LOOKUP_TABLE_DATA_OFF (54UL) 83 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_ADDRESS_LOOKUP_TABLE_INDEX_OFF (55UL) 84 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_RENT_PAYING_ACCOUNT_OFF (56UL) 85 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_WOULD_EXCEED_MAX_VOTE_COST_LIMIT_OFF (57UL) 86 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT_OFF (58UL) 87 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_DUPLICATE_INSTRUCTION_OFF (59UL) 88 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INSUFFICIENT_FUNDS_FOR_RENT_OFF (60UL) 89 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED_OFF (61UL) 90 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT_OFF (62UL) 91 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_RESANITIZATION_NEEDED_OFF (63UL) 92 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED_OFF (64UL) 93 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_UNBALANCED_TRANSACTION_OFF (65UL) 94 : #define FD_METRICS_COUNTER_BANK_TRANSACTION_RESULT_PROGRAM_CACHE_HIT_MAX_LIMIT_OFF (66UL) 95 : 96 0 : #define FD_METRICS_COUNTER_BANK_PROCESSING_FAILED_OFF (67UL) 97 : #define FD_METRICS_COUNTER_BANK_PROCESSING_FAILED_NAME "bank_processing_failed" 98 : #define FD_METRICS_COUNTER_BANK_PROCESSING_FAILED_TYPE (FD_METRICS_TYPE_COUNTER) 99 : #define FD_METRICS_COUNTER_BANK_PROCESSING_FAILED_DESC "Count of transactions for which the processing stage failed and won't land on chain" 100 : #define FD_METRICS_COUNTER_BANK_PROCESSING_FAILED_CVT (FD_METRICS_CONVERTER_NONE) 101 : 102 0 : #define FD_METRICS_COUNTER_BANK_FEE_ONLY_TRANSACTIONS_OFF (68UL) 103 : #define FD_METRICS_COUNTER_BANK_FEE_ONLY_TRANSACTIONS_NAME "bank_fee_only_transactions" 104 : #define FD_METRICS_COUNTER_BANK_FEE_ONLY_TRANSACTIONS_TYPE (FD_METRICS_TYPE_COUNTER) 105 : #define FD_METRICS_COUNTER_BANK_FEE_ONLY_TRANSACTIONS_DESC "Count of transactions that will land on chain but without executing" 106 : #define FD_METRICS_COUNTER_BANK_FEE_ONLY_TRANSACTIONS_CVT (FD_METRICS_CONVERTER_NONE) 107 : 108 0 : #define FD_METRICS_COUNTER_BANK_EXECUTED_FAILED_TRANSACTIONS_OFF (69UL) 109 : #define FD_METRICS_COUNTER_BANK_EXECUTED_FAILED_TRANSACTIONS_NAME "bank_executed_failed_transactions" 110 : #define FD_METRICS_COUNTER_BANK_EXECUTED_FAILED_TRANSACTIONS_TYPE (FD_METRICS_TYPE_COUNTER) 111 : #define FD_METRICS_COUNTER_BANK_EXECUTED_FAILED_TRANSACTIONS_DESC "Count of transactions that execute on chain but failed" 112 : #define FD_METRICS_COUNTER_BANK_EXECUTED_FAILED_TRANSACTIONS_CVT (FD_METRICS_CONVERTER_NONE) 113 : 114 0 : #define FD_METRICS_COUNTER_BANK_SUCCESSFUL_TRANSACTIONS_OFF (70UL) 115 : #define FD_METRICS_COUNTER_BANK_SUCCESSFUL_TRANSACTIONS_NAME "bank_successful_transactions" 116 : #define FD_METRICS_COUNTER_BANK_SUCCESSFUL_TRANSACTIONS_TYPE (FD_METRICS_TYPE_COUNTER) 117 : #define FD_METRICS_COUNTER_BANK_SUCCESSFUL_TRANSACTIONS_DESC "Count of transactions that execute on chain and succeed" 118 : #define FD_METRICS_COUNTER_BANK_SUCCESSFUL_TRANSACTIONS_CVT (FD_METRICS_CONVERTER_NONE) 119 : 120 0 : #define FD_METRICS_COUNTER_BANK_COST_MODEL_UNDERCOUNT_OFF (71UL) 121 : #define FD_METRICS_COUNTER_BANK_COST_MODEL_UNDERCOUNT_NAME "bank_cost_model_undercount" 122 : #define FD_METRICS_COUNTER_BANK_COST_MODEL_UNDERCOUNT_TYPE (FD_METRICS_TYPE_COUNTER) 123 : #define FD_METRICS_COUNTER_BANK_COST_MODEL_UNDERCOUNT_DESC "Count of transactions that used more CUs than the cost model should have permitted them to" 124 : #define FD_METRICS_COUNTER_BANK_COST_MODEL_UNDERCOUNT_CVT (FD_METRICS_CONVERTER_NONE) 125 : 126 : #define FD_METRICS_BANK_TOTAL (56UL) 127 : extern const fd_metrics_meta_t FD_METRICS_BANK[FD_METRICS_BANK_TOTAL];