Skip to content

Commit

Permalink
Fix getting-started.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoamaro authored Apr 17, 2024
1 parent 3529fbd commit 3081096
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions content/en/docs/languages/cpp/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,14 @@ include_directories(${OATPP_ROOT}/src)
# Use find_package to find and configure the opentelemetry-cpp package
find_package(opentelemetry-cpp CONFIG REQUIRED)
# Link against the OpenTelemetry C++ library
# Link against each OpenTelemetry C++ library
target_link_libraries(dice-server PRIVATE
${OATPP_LIB}
opentelemetry-cpp::opentelemetry-cpp)
opentelemetry-cpp::api
opentelemetry-cpp::sdk
opentelemetry-cpp::trace
opentelemetry-cpp::resource
opentelemetry-cpp::ostream_span_exporter)
```

Update the `main.cpp` file with the following code to initialize a tracer and to
Expand Down

0 comments on commit 3081096

Please sign in to comment.