Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Increment the:

* [RESOURCE DETECTOR] Add the service resource detector and builder
[#4414](https://github.com/open-telemetry/opentelemetry-cpp/issues/4414)

* [BENCHMARK] Sync instrument recording benchmarks
[#4470](https://github.com/open-telemetry/opentelemetry-cpp/pull/4470)

* [CONFIGURATION] deprecate config builder cmake components
[#4428](https://github.com/open-telemetry/opentelemetry-cpp/pull/4428)

Expand Down
16 changes: 16 additions & 0 deletions sdk/test/metrics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,19 @@ otel_cc_benchmark(
"//sdk/src/resource",
],
)

otel_cc_benchmark(
name = "sync_instruments_benchmark",
srcs = [
"sync_instruments_benchmark.cc",
],
tags = [
"benchmark",
"metrics",
"test",
],
deps = [
"//sdk/src/metrics",
"//sdk/src/resource",
],
)
4 changes: 4 additions & 0 deletions sdk/test/metrics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ if(OTELCPP_WITH_BENCHMARK)
target_link_libraries(
measurements_benchmark benchmark::benchmark opentelemetry_metrics
opentelemetry_resources ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common)
add_executable(sync_instruments_benchmark sync_instruments_benchmark.cc)
target_link_libraries(
sync_instruments_benchmark benchmark::benchmark opentelemetry_metrics
opentelemetry_resources ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common)
add_executable(sum_aggregation_benchmark sum_aggregation_benchmark.cc)
target_link_libraries(
sum_aggregation_benchmark benchmark::benchmark ${CMAKE_THREAD_LIBS_INIT}
Expand Down
Loading
Loading