From aefb0ca7159be9716df1e9b5de1d338e3f6e7d54 Mon Sep 17 00:00:00 2001 From: linrunqi08 Date: Wed, 5 Jun 2024 22:54:21 +0800 Subject: [PATCH] add comments --- core/processor/daemon/LogProcess.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/processor/daemon/LogProcess.cpp b/core/processor/daemon/LogProcess.cpp index 8c190fd185..b69ec37d39 100644 --- a/core/processor/daemon/LogProcess.cpp +++ b/core/processor/daemon/LogProcess.cpp @@ -408,6 +408,8 @@ void* LogProcess::ProcessLoop(int32_t threadNo) { } } } + + // 统计信息需要放在最外面,确保Pipeline在各种条件下,都能统计到 LogFileProfiler::GetInstance()->AddProfilingData(pipeline->Name(), pipeline->GetContext().GetRegion(), projectName,