WenTao Ou
WenTao Ou
please see https://github.com/owent-contrib/linenoise to view the changes
Is this problem still exist in the latest version?(1.6.0) In the early version, you need call Shutdown before destroy a provider.
> Does Otel support the JSON output now? @lalitb @deejgregor Thanks. Not yet, I create #2482 to track this.
> @StefanVanDyck > > I also had the same issue recently. > > The problem was that some code is compiled with HAVE_ABSEIL, other code is not, causing the build...
> @owent > > I am using these lines in my `CmakeLists.txt` to link to the opentelemetry libraries. > > ``` > find_package(opentelemetry-cpp CONFIG REQUIRED) > target_link_libraries(${PROJECT_NAME} PRIVATE ${OPENTELEMETRY_CPP_LIBRARIES}) >...
This issue is solved by #1884
I find a issue of GCC which may relate to this problem. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106297
Could you please try the latest main branch? https://github.com/open-telemetry/opentelemetry-cpp/pull/2464 fixes a crash problem with gcc 4.8.
> The latest main branch works for me! But I do have a PR open to fix some other things to make it work for our setup. Would you be...
`ForceFlush` will wait for 1 second, but `opentelemetry::logs::Provider::SetLoggerProvider(none)` will make internal exporters shutdown can wait for all pending requests to finish. Could you please try to call `loggerProvider->Shutdown(std::chrono::seconds(1));` instead of...