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_COUNTER_NET_RECEIVED_PACKETS_OFF (16UL) 7 : #define FD_METRICS_COUNTER_NET_RECEIVED_PACKETS_NAME "net_received_packets" 8 : #define FD_METRICS_COUNTER_NET_RECEIVED_PACKETS_TYPE (FD_METRICS_TYPE_COUNTER) 9 : #define FD_METRICS_COUNTER_NET_RECEIVED_PACKETS_DESC "Number of IP packets received." 10 : #define FD_METRICS_COUNTER_NET_RECEIVED_PACKETS_CVT (FD_METRICS_CONVERTER_NONE) 11 : 12 0 : #define FD_METRICS_COUNTER_NET_RECEIVED_BYTES_OFF (17UL) 13 : #define FD_METRICS_COUNTER_NET_RECEIVED_BYTES_NAME "net_received_bytes" 14 : #define FD_METRICS_COUNTER_NET_RECEIVED_BYTES_TYPE (FD_METRICS_TYPE_COUNTER) 15 : #define FD_METRICS_COUNTER_NET_RECEIVED_BYTES_DESC "Total bytes received (including IP, UDP headers)." 16 : #define FD_METRICS_COUNTER_NET_RECEIVED_BYTES_CVT (FD_METRICS_CONVERTER_NONE) 17 : 18 0 : #define FD_METRICS_COUNTER_NET_SENT_PACKETS_OFF (18UL) 19 : #define FD_METRICS_COUNTER_NET_SENT_PACKETS_NAME "net_sent_packets" 20 : #define FD_METRICS_COUNTER_NET_SENT_PACKETS_TYPE (FD_METRICS_TYPE_COUNTER) 21 : #define FD_METRICS_COUNTER_NET_SENT_PACKETS_DESC "Number of IP packets sent." 22 : #define FD_METRICS_COUNTER_NET_SENT_PACKETS_CVT (FD_METRICS_CONVERTER_NONE) 23 : 24 0 : #define FD_METRICS_COUNTER_NET_SENT_BYTES_OFF (19UL) 25 : #define FD_METRICS_COUNTER_NET_SENT_BYTES_NAME "net_sent_bytes" 26 : #define FD_METRICS_COUNTER_NET_SENT_BYTES_TYPE (FD_METRICS_TYPE_COUNTER) 27 : #define FD_METRICS_COUNTER_NET_SENT_BYTES_DESC "Total bytes sent (including IP, UDP headers)." 28 : #define FD_METRICS_COUNTER_NET_SENT_BYTES_CVT (FD_METRICS_CONVERTER_NONE) 29 : 30 0 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_RING_FULL_OFF (20UL) 31 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_RING_FULL_NAME "net_xdp_rx_dropped_ring_full" 32 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_RING_FULL_TYPE (FD_METRICS_TYPE_COUNTER) 33 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_RING_FULL_DESC "Number of packets dropped because the RX completion queue was empty. This is only reported for net tile 0, since the measurement is across all RX queues." 34 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_RING_FULL_CVT (FD_METRICS_CONVERTER_NONE) 35 : 36 0 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_OTHER_OFF (21UL) 37 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_OTHER_NAME "net_xdp_rx_dropped_other" 38 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_OTHER_TYPE (FD_METRICS_TYPE_COUNTER) 39 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_OTHER_DESC "Number of packets dropped for other reasons. This is only reported for net tile 0, since the measurement is across all RX queues." 40 : #define FD_METRICS_COUNTER_NET_XDP_RX_DROPPED_OTHER_CVT (FD_METRICS_CONVERTER_NONE) 41 : 42 0 : #define FD_METRICS_COUNTER_NET_TX_DROPPED_OFF (22UL) 43 : #define FD_METRICS_COUNTER_NET_TX_DROPPED_NAME "net_tx_dropped" 44 : #define FD_METRICS_COUNTER_NET_TX_DROPPED_TYPE (FD_METRICS_TYPE_COUNTER) 45 : #define FD_METRICS_COUNTER_NET_TX_DROPPED_DESC "Number of packets dropped because the TX submission queue was empty. This is reported for all net tiles." 46 : #define FD_METRICS_COUNTER_NET_TX_DROPPED_CVT (FD_METRICS_CONVERTER_NONE) 47 : 48 : #define FD_METRICS_NET_TOTAL (7UL) 49 : extern const fd_metrics_meta_t FD_METRICS_NET[FD_METRICS_NET_TOTAL];