WenTao Ou

Results 226 comments of WenTao Ou

Protobuf's symbol pool may be used by many other components. So we can not shutdown it directly. Could you please call `google::protobuf::ShutdownProtobufLibrary()` after shutdown otel-cpp and other components which may...

> Regarding protobuf, the only thing which is deleted with ShutdownProtobufLibrary() is the ShutdownData, which is allocated only when any of the OnShutdown*() functions is called (see protobuf/message_lite.cc). I wonder...

My MSVC have LNK2001 unresolved external symbol for `__std_find_last_trivial_1` , `__std_search_1` , `__std_search_1` , `__std_min_8i` and many other STL's symbols, I will wait the next VS update and continue this...

@lalitb @ThomsonTan @dbarker There is another suggestion for https://github.com/open-telemetry/opentelemetry-cpp/pull/3714#discussion_r2536061020_ and https://github.com/open-telemetry/opentelemetry-cpp/pull/3714#discussion_r2536064869_ . We currently do not support `-DCMAKE_BUILD_TYPE=ON` on Windows. A better approach would be to use a macro to...

The variable names should be `Protobuf_INCLUDE_DIRS` and `Protobuf_LIBRARIES`, not `Protobuf_LIBRARY` and `Protobuf_INCLUDE_DIR`. Please see for more details.

Instead of setting `Protobuf_INCLUDE_DIRS` and `Protobuf_LIBRARIES`, could you please try `list(APPEND CMAKE_FIND_ROOT_PATH "/usr/local/qualys/cloud-agent")` and `list(APPEND CMAKE_PREFIX_PATH "/usr/local/qualys/cloud-agent")` ? Or setting `set(protobuf_ROOT "/usr/local/qualys/cloud-agent")` if [CMP0074](https://cmake.org/cmake/help/latest/policy/CMP0074.html) is NEW.

The time setting is now restored in the latest version and is derived from the metrics data. Exporters should only handle I/O; if you need to modify metrics data, please...

The clang-tidy check failure does not appear to be caused by this PR.

`BUILD_SHARED_LIBS` controls only the otel-cpp components, not third-party libraries. Use your package manager to install Abseil, Protobuf, Prometheus, and cURL. The build system may attempt to fetch missing dependencies for...