File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -221,13 +221,17 @@ target_link_libraries(foo_lib PRIVATE opentelemetry-cpp::api)
221
221
# foo_app/CMakeLists.txt
222
222
find_package(opentelemetry-cpp CONFIG REQUIRED COMPONENTS api sdk exporters_otlp_grpc)
223
223
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 )
225
225
```
226
226
227
227
The following table provides the mapping between components and targets. Components
228
228
and targets available in the installation depends on the opentelemetry-cpp package
229
229
build configuration.
230
230
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
+
231
235
| Component | Targets |
232
236
| ----------------------------| --------------------------------------------------------------------------------------------------|
233
237
| ** api** | opentelemetry-cpp::api |
You can’t perform that action at this time.
0 commit comments