session manager stat metric rename
This commit is contained in:
@@ -53,20 +53,20 @@ static inline uint64_t get_ip6_flow_fail_many_frag(struct thread_stat *thr_stat)
|
||||
static inline uint64_t get_ip6_flow_fail_invalid_length(struct thread_stat *thr_stat) { return thr_stat->ip_reassembly->ip6_flow_fail_invalid_length; }
|
||||
static inline uint64_t get_ip6_flow_bypass_dup_fist_frag(struct thread_stat *thr_stat) { return thr_stat->ip_reassembly->ip6_flow_bypass_dup_fist_frag; }
|
||||
static inline uint64_t get_ip6_flow_bypass_dup_last_frag(struct thread_stat *thr_stat) { return thr_stat->ip_reassembly->ip6_flow_bypass_dup_last_frag; }
|
||||
static inline uint64_t get_total_tcp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->total_tcp_sess_used; }
|
||||
static inline uint64_t get_curr_tcp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_used; }
|
||||
static inline uint64_t get_curr_tcp_sess_opening(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_opening; }
|
||||
static inline uint64_t get_curr_tcp_sess_active(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_active; }
|
||||
static inline uint64_t get_curr_tcp_sess_closing(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_closing; }
|
||||
static inline uint64_t get_curr_tcp_sess_discard(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_discard; }
|
||||
static inline uint64_t get_curr_tcp_sess_closed(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_tcp_sess_closed; }
|
||||
static inline uint64_t get_total_udp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->total_udp_sess_used; }
|
||||
static inline uint64_t get_curr_udp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_used; }
|
||||
static inline uint64_t get_curr_udp_sess_opening(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_opening; }
|
||||
static inline uint64_t get_curr_udp_sess_active(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_active; }
|
||||
static inline uint64_t get_curr_udp_sess_closing(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_closing; }
|
||||
static inline uint64_t get_curr_udp_sess_discard(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_discard; }
|
||||
static inline uint64_t get_curr_udp_sess_closed(struct thread_stat *thr_stat) { return thr_stat->session_mgr->curr_udp_sess_closed; }
|
||||
static inline uint64_t get_history_tcp_sessions(struct thread_stat *thr_stat) { return thr_stat->session_mgr->history_tcp_sessions; }
|
||||
static inline uint64_t get_tcp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_used; }
|
||||
static inline uint64_t get_tcp_sess_opening(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_opening; }
|
||||
static inline uint64_t get_tcp_sess_active(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_active; }
|
||||
static inline uint64_t get_tcp_sess_closing(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_closing; }
|
||||
static inline uint64_t get_tcp_sess_discard(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_discard; }
|
||||
static inline uint64_t get_tcp_sess_closed(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_closed; }
|
||||
static inline uint64_t get_history_udp_sessions(struct thread_stat *thr_stat) { return thr_stat->session_mgr->history_udp_sessions; }
|
||||
static inline uint64_t get_udp_sess_used(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_used; }
|
||||
static inline uint64_t get_udp_sess_opening(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_opening; }
|
||||
static inline uint64_t get_udp_sess_active(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_active; }
|
||||
static inline uint64_t get_udp_sess_closing(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_closing; }
|
||||
static inline uint64_t get_udp_sess_discard(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_discard; }
|
||||
static inline uint64_t get_udp_sess_closed(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_closed; }
|
||||
static inline uint64_t get_tcp_sess_evicted(struct thread_stat *thr_stat) { return thr_stat->session_mgr->tcp_sess_evicted; }
|
||||
static inline uint64_t get_udp_sess_evicted(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_sess_evicted; }
|
||||
static inline uint64_t get_udp_pkts_bypass_table_full(struct thread_stat *thr_stat) { return thr_stat->session_mgr->udp_pkts_bypass_table_full; }
|
||||
@@ -144,21 +144,21 @@ struct metric_schema
|
||||
{"ip6_flow_bypass_dup_fist_frag", get_ip6_flow_bypass_dup_fist_frag},
|
||||
{"ip6_flow_bypass_dup_last_frag", get_ip6_flow_bypass_dup_last_frag},
|
||||
// TCP session
|
||||
{"total_tcp_sess_used", get_total_tcp_sess_used},
|
||||
{"curr_tcp_sess_used", get_curr_tcp_sess_used},
|
||||
{"curr_tcp_sess_opening", get_curr_tcp_sess_opening},
|
||||
{"curr_tcp_sess_active", get_curr_tcp_sess_active},
|
||||
{"curr_tcp_sess_closing", get_curr_tcp_sess_closing},
|
||||
{"curr_tcp_sess_discard", get_curr_tcp_sess_discard},
|
||||
{"curr_tcp_sess_closed", get_curr_tcp_sess_closed},
|
||||
{"history_tcp_sessions", get_history_tcp_sessions},
|
||||
{"tcp_sess_used", get_tcp_sess_used},
|
||||
{"tcp_sess_opening", get_tcp_sess_opening},
|
||||
{"tcp_sess_active", get_tcp_sess_active},
|
||||
{"tcp_sess_closing", get_tcp_sess_closing},
|
||||
{"tcp_sess_discard", get_tcp_sess_discard},
|
||||
{"tcp_sess_closed", get_tcp_sess_closed},
|
||||
// UDP session
|
||||
{"total_udp_sess_used", get_total_udp_sess_used},
|
||||
{"curr_udp_sess_used", get_curr_udp_sess_used},
|
||||
{"curr_udp_sess_opening", get_curr_udp_sess_opening},
|
||||
{"curr_udp_sess_active", get_curr_udp_sess_active},
|
||||
{"curr_udp_sess_closing", get_curr_udp_sess_closing},
|
||||
{"curr_udp_sess_discard", get_curr_udp_sess_discard},
|
||||
{"curr_udp_sess_closed", get_curr_udp_sess_closed},
|
||||
{"history_udp_sessions", get_history_udp_sessions},
|
||||
{"udp_sess_used", get_udp_sess_used},
|
||||
{"udp_sess_opening", get_udp_sess_opening},
|
||||
{"udp_sess_active", get_udp_sess_active},
|
||||
{"udp_sess_closing", get_udp_sess_closing},
|
||||
{"udp_sess_discard", get_udp_sess_discard},
|
||||
{"udp_sess_closed", get_udp_sess_closed},
|
||||
// Evicted session
|
||||
{"tcp_sess_evicted", get_tcp_sess_evicted},
|
||||
{"udp_sess_evicted", get_udp_sess_evicted},
|
||||
|
||||
Reference in New Issue
Block a user