Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quzard committed Mar 7, 2024
1 parent f09ab37 commit c8e278e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions core/monitor/MetricConstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ const std::string METRIC_PROC_DESENSITIZE_RECORDS_TOTAL = "proc_desensitize_reco
// processor merge multiline log metrics
const std::string METRIC_PROC_MERGE_MULTILINE_LOG_MERGED_RECORDS_TOTAL
= "proc_merge_multiline_log_merged_records_total";
const std::string METRIC_PROC_MERGE_MULTILINE_LOG_MERGED_RECORDS_SIZE_BYTES
= "proc_merge_multiline_log_merged_records_size_bytes";
const std::string METRIC_PROC_MERGE_MULTILINE_LOG_UNMATCHED_RECORDS_TOTAL
= "proc_merge_multiline_log_unmatched_records_total";
const std::string METRIC_PROC_MERGE_MULTILINE_LOG_UNMATCHED_RECORDS_SIZE_BYTES
= "proc_merge_multiline_log_unmatched_records_size_bytes";

} // namespace logtail
4 changes: 0 additions & 4 deletions core/processor/ProcessorMergeMultilineLogNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,8 @@ bool ProcessorMergeMultilineLogNative::Init(const Json::Value& config) {
mSplitLines = &(GetContext().GetProcessProfile().splitLines);

mProcMergedEventsCnt = GetMetricsRecordRef().CreateCounter(METRIC_PROC_MERGE_MULTILINE_LOG_MERGED_RECORDS_TOTAL);
// mProcMergedEventsBytes
= GetMetricsRecordRef().CreateCounter(METRIC_PROC_MERGE_MULTILINE_LOG_MERGED_RECORDS_SIZE_BYTES);
mProcUnmatchedEventsCnt
= GetMetricsRecordRef().CreateCounter(METRIC_PROC_MERGE_MULTILINE_LOG_UNMATCHED_RECORDS_TOTAL);
// mProcUnmatchedEventsBytes
= GetMetricsRecordRef().CreateCounter(METRIC_PROC_MERGE_MULTILINE_LOG_UNMATCHED_RECORDS_SIZE_BYTES);

return true;
}
Expand Down

0 comments on commit c8e278e

Please sign in to comment.