diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt')
-rw-r--r-- | src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt b/src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt new file mode 100644 index 000000000..faf2f2b49 --- /dev/null +++ b/src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt @@ -0,0 +1,34 @@ +foreach( + testname + meter_provider_sdk_test + view_registry_test + aggregation_test + attributes_processor_test + attributes_hashmap_test + sync_metric_storage_test + async_metric_storage_test + multi_metric_storage_test + observer_result_test + sync_instruments_test + async_instruments_test + metric_reader_test + periodic_exporting_metric_reader_test) + add_executable(${testname} "${testname}.cc") + target_link_libraries( + ${testname} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} + opentelemetry_resources opentelemetry_metrics) + gtest_add_tests( + TARGET ${testname} + TEST_PREFIX metrics. + TEST_LIST ${testname}) +endforeach() + +add_executable(attributes_processor_benchmark attributes_processor_benchmark.cc) +target_link_libraries(attributes_processor_benchmark benchmark::benchmark + ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common) + +add_executable(attributes_hashmap_benchmark attributes_hashmap_benchmark.cc) +target_link_libraries(attributes_hashmap_benchmark benchmark::benchmark + ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common) + +add_subdirectory(exemplar) |