File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ Increment the:
4747
4848* [ RESOURCE DETECTOR] Add the service resource detector and builder
4949 [ #4414 ] ( https://github.com/open-telemetry/opentelemetry-cpp/issues/4414 )
50+
51+ * [ BENCHMARK] Sync instrument recording benchmarks
52+ [ #4470 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/4470 )
53+
5054* [ CONFIGURATION] deprecate config builder cmake components
5155 [ #4428 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/4428 )
5256
Original file line number Diff line number Diff line change @@ -179,3 +179,19 @@ otel_cc_benchmark(
179179 "//sdk/src/resource" ,
180180 ],
181181)
182+
183+ otel_cc_benchmark (
184+ name = "sync_instruments_benchmark" ,
185+ srcs = [
186+ "sync_instruments_benchmark.cc" ,
187+ ],
188+ tags = [
189+ "benchmark" ,
190+ "metrics" ,
191+ "test" ,
192+ ],
193+ deps = [
194+ "//sdk/src/metrics" ,
195+ "//sdk/src/resource" ,
196+ ],
197+ )
Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ if(OTELCPP_WITH_BENCHMARK)
111111 target_link_libraries (
112112 measurements_benchmark benchmark::benchmark opentelemetry_metrics
113113 opentelemetry_resources ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common )
114+ add_executable (sync_instruments_benchmark sync_instruments_benchmark.cc )
115+ target_link_libraries (
116+ sync_instruments_benchmark benchmark::benchmark opentelemetry_metrics
117+ opentelemetry_resources ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common )
114118 add_executable (sum_aggregation_benchmark sum_aggregation_benchmark.cc )
115119 target_link_libraries (
116120 sum_aggregation_benchmark benchmark::benchmark ${CMAKE_THREAD_LIBS_INIT}
You can’t perform that action at this time.
0 commit comments