Skip to content

Commit b7e7333

Browse files
authored
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 (open-telemetry#3422)
1 parent 0f8dedf commit b7e7333

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

INSTALL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,17 @@ target_link_libraries(foo_lib PRIVATE opentelemetry-cpp::api)
221221
# foo_app/CMakeLists.txt
222222
find_package(opentelemetry-cpp CONFIG REQUIRED COMPONENTS api sdk exporters_otlp_grpc)
223223
add_executable(foo_app main.cpp)
224-
target_link_libraries(foo_app PRIVATE foo_lib opentelemetry-cpp::api opentelemetry-cpp::sdk opentelemetry-cpp::otlp_grpc_exporter )
224+
target_link_libraries(foo_app PRIVATE foo_lib opentelemetry-cpp::api opentelemetry-cpp::trace opentelemetry-cpp::otlp_grpc_exporter )
225225
```
226226

227227
The following table provides the mapping between components and targets. Components
228228
and targets available in the installation depends on the opentelemetry-cpp package
229229
build configuration.
230230

231+
> **Note:** components `exporters_elasticsearch` and `exporters_etw`
232+
may be moved out of the core package and to `opentelemetry-cpp-contrib`
233+
in a future release
234+
231235
| Component | Targets |
232236
|----------------------------|--------------------------------------------------------------------------------------------------|
233237
| **api** | opentelemetry-cpp::api |

0 commit comments

Comments
 (0)