From b82cbe019a621c70c54a91778bd1a8190b4f0d15 Mon Sep 17 00:00:00 2001 From: duncanpo Date: Mon, 22 Sep 2025 15:42:42 -0400 Subject: [PATCH 1/2] Update README with status --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23ff4cf..2a0f8e8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,13 @@ MATLAB® interface to [OpenTelemetry™](https://opentelemetry.io/), based on the [OpenTelemetry Specification](https://opentelemetry.io/docs/specs/otel/). OpenTelemetry is an observability framework for creating and managing telemetry data, such as traces, metrics, and logs. This data can then be sent to an observability back-end for monitoring, alerts, and analysis. ### Status -- Tracing, metrics, and logs are all fully supported. -- Supported and tested on Windows®, Linux®, and macOS. +1. Tracing, metrics, and logs are all fully supported and tested on Windows®, Linux®, and macOS. +2. On Linux, when running MATLAB R2025a or newer releases, the gRPC library used in the gRPC exporter in this package may conflict with the same library in MATLAB, causing MATLAB to crash. To avoid this issue, install otel-matlab-nogrpc.mltbx in [version 1.10.2](https://github.com/mathworks/OpenTelemetry-MATLAB/releases/tag/1.10.2), which excludes the gRPC exporter. +3. If you are using [version 1.10.2](https://github.com/mathworks/OpenTelemetry-MATLAB/releases/tag/1.10.2) on Linux with MATLAB R2024a or older, you may run into an "Invalid MEX file" error due to an incompatible libstdc++ library. Define the environment variable LD_PRELOAD to point to the system libstdc++.so. For example, use the following command in a Bash shell on Ubuntu or Debian Linux. +``` +export LD_PRELOAD="/lib/x86_64-linux-gnu/libstdc++.so.6" +``` +4. OpenTelemetry currently does not support non-ASCII characters. Defining names or attributes with non-ASCII characters will cause the telemetry data to become invalid and fail to export. ### MathWorks Products (https://www.mathworks.com) From 5243b708a5afcdc8f95fa25cc22eb7711d68509e Mon Sep 17 00:00:00 2001 From: duncanpo Date: Mon, 22 Sep 2025 18:57:24 -0400 Subject: [PATCH 2/2] Update README with status --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2147f62..e02c2c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ set(LIBMEXCLASS_FETCH_CONTENT_NAME libmexclass) set(LIBMEXCLASS_FETCH_CONTENT_GIT_REPOSITORY "https://github.com/mathworks/libmexclass.git") -set(LIBMEXCLASS_FETCH_CONTENT_GIT_TAG "bc2b9f2") +set(LIBMEXCLASS_FETCH_CONTENT_GIT_TAG "3a3b581") set(LIBMEXCLASS_FETCH_CONTENT_SOURCE_SUBDIR "libmexclass/cpp")