From 8308fc6150867f4f34f00bdf1368afb26b357826 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Sun, 7 May 2023 17:15:55 -0700 Subject: [PATCH] Add event id to logger benchmark method (#2133) --- api/test/logs/logger_benchmark.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/test/logs/logger_benchmark.cc b/api/test/logs/logger_benchmark.cc index 683ce1eda7..fa5ad2b0c6 100644 --- a/api/test/logs/logger_benchmark.cc +++ b/api/test/logs/logger_benchmark.cc @@ -165,7 +165,7 @@ static void BM_StructuredLogWithEventIdAndTwoAttributes(benchmark::State &state) for (int64_t i = 0; i < kMaxIterations; i++) { logger->Trace( - "This is a simple structured log message from {process_id}:{thread_id}", + 0x12345678, "This is a simple structured log message from {process_id}:{thread_id}", opentelemetry::common::MakeAttributes({{"process_id", 12347}, {"thread_id", 12348}})); } });