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 0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_OFF (16UL) 7 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_NAME "shred_cluster_contact_info_cnt" 8 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_TYPE (FD_METRICS_TYPE_HISTOGRAM) 9 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_DESC "Number of contact infos in the cluster contact info message" 10 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_CVT (FD_METRICS_CONVERTER_NONE) 11 0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_MIN (0UL) 12 0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_MAX (40200UL) 13 : 14 0 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_OFF (33UL) 15 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_NAME "shred_microblocks_abandoned" 16 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_TYPE (FD_METRICS_TYPE_COUNTER) 17 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_DESC "The number of microblocks that were abandoned because we switched slots without finishing the current slot" 18 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_CVT (FD_METRICS_CONVERTER_NONE) 19 : 20 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_OFF (34UL) 21 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_NAME "shred_batch_sz" 22 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_TYPE (FD_METRICS_TYPE_HISTOGRAM) 23 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_DESC "The size (in bytes) of each microblock batch that is shredded" 24 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_CVT (FD_METRICS_CONVERTER_NONE) 25 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_MIN (1024UL) 26 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_MAX (65536UL) 27 : 28 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_OFF (51UL) 29 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_NAME "shred_batch_microblock_cnt" 30 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_TYPE (FD_METRICS_TYPE_HISTOGRAM) 31 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_DESC "The number of microblocks in each microblock batch that is shredded" 32 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_CVT (FD_METRICS_CONVERTER_NONE) 33 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_MIN (2UL) 34 0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_MAX (256UL) 35 : 36 0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_OFF (68UL) 37 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_NAME "shred_shredding_duration_seconds" 38 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_TYPE (FD_METRICS_TYPE_HISTOGRAM) 39 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_DESC "Duration of producing one FEC set from the shredder" 40 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_CVT (FD_METRICS_CONVERTER_SECONDS) 41 0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_MIN (1e-05) 42 0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_MAX (0.01) 43 : 44 0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_OFF (85UL) 45 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_NAME "shred_add_shred_duration_seconds" 46 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_TYPE (FD_METRICS_TYPE_HISTOGRAM) 47 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_DESC "Duration of verifying and processing one shred received from the network" 48 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_CVT (FD_METRICS_CONVERTER_SECONDS) 49 0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_MIN (1e-08) 50 0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_MAX (0.001) 51 : 52 0 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OFF (102UL) 53 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_NAME "shred_shred_processed" 54 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_TYPE (FD_METRICS_TYPE_COUNTER) 55 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_DESC "The result of processing a thread from the network" 56 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_CVT (FD_METRICS_CONVERTER_NONE) 57 0 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_CNT (6UL) 58 : 59 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_OFF (102UL) 60 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_OFF (103UL) 61 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_OFF (104UL) 62 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_OFF (105UL) 63 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_OFF (106UL) 64 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_OFF (107UL) 65 : 66 33 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_OFF (108UL) 67 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_NAME "shred_fec_set_spilled" 68 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_TYPE (FD_METRICS_TYPE_COUNTER) 69 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_DESC "The number of FEC sets that were spilled because they didn't complete in time and we needed space" 70 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_CVT (FD_METRICS_CONVERTER_NONE) 71 : 72 0 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_OFF (109UL) 73 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_NAME "shred_shred_rejected_initial" 74 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_TYPE (FD_METRICS_TYPE_COUNTER) 75 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_DESC "The number shreds that were rejected before any resources were allocated for the FEC set" 76 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_CVT (FD_METRICS_CONVERTER_NONE) 77 : 78 0 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_OFF (110UL) 79 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_NAME "shred_fec_rejected_fatal" 80 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_TYPE (FD_METRICS_TYPE_COUNTER) 81 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_DESC "The number of FEC sets that were rejected for reasons that cause the whole FEC set to become invalid" 82 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_CVT (FD_METRICS_CONVERTER_NONE) 83 : 84 : #define FD_METRICS_SHRED_TOTAL (15UL) 85 : extern const fd_metrics_meta_t FD_METRICS_SHRED[FD_METRICS_SHRED_TOTAL];