From b03235cf1d2cedd09fee51def292967509101e05 Mon Sep 17 00:00:00 2001 From: Douglas Barker Date: Fri, 16 May 2025 13:06:34 -0600 Subject: [PATCH] update the INSTALL doc to referece the trace target instead of the interface sdk target and add note about potential move of the etw and elasticsearch components --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index b0ca5eec91..296a61c44b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -221,13 +221,17 @@ target_link_libraries(foo_lib PRIVATE opentelemetry-cpp::api) # foo_app/CMakeLists.txt find_package(opentelemetry-cpp CONFIG REQUIRED COMPONENTS api sdk exporters_otlp_grpc) add_executable(foo_app main.cpp) -target_link_libraries(foo_app PRIVATE foo_lib opentelemetry-cpp::api opentelemetry-cpp::sdk opentelemetry-cpp::otlp_grpc_exporter ) +target_link_libraries(foo_app PRIVATE foo_lib opentelemetry-cpp::api opentelemetry-cpp::trace opentelemetry-cpp::otlp_grpc_exporter ) ``` The following table provides the mapping between components and targets. Components and targets available in the installation depends on the opentelemetry-cpp package build configuration. +> **Note:** components `exporters_elasticsearch` and `exporters_etw` + may be moved out of the core package and to `opentelemetry-cpp-contrib` + in a future release + | Component | Targets | |----------------------------|--------------------------------------------------------------------------------------------------| | **api** | opentelemetry-cpp::api |