TSG-21854 TFE使用fieldstat4序列化Manipulation Policy的metric并输出到kafka
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#include "dablooms.h"
|
||||
#include "timestamp.h"
|
||||
#include "tfe_dp_trace.h"
|
||||
#include "metrics.h"
|
||||
|
||||
/******************************************************************************
|
||||
* Struct
|
||||
@@ -1350,7 +1349,7 @@ static int handle_session_closing(struct metadata *meta, marsio_buff_t *rx_buff,
|
||||
if (node)
|
||||
{
|
||||
struct session_ctx *s_ctx = (struct session_ctx *)node->val_data;
|
||||
metrics_single_session_output(node, thread);
|
||||
tfe_fieldstat_intercept_incrby(thread->ref_acceptor_ctx->metrics, s_ctx, thread->thread_index);
|
||||
TFE_LOG_INFO(logger, "%s: session %lu closing", LOG_TAG_PKTIO, s_ctx->session_id);
|
||||
tfe_dp_telemetry_on_ctrl_pkt(packet_io->instance, rx_buff, s_ctx->policy_ids, meta->session_id, "closing", NULL, NULL);
|
||||
session_table_delete_by_id(thread->session_table, meta->session_id);
|
||||
|
||||
Reference in New Issue
Block a user