Replies: 2 comments
-
OpenTelemetry does not currently provide an official API for the C language. To integrate OpenTelemetry into a C project, one would need to develop a C-compatible wrapper using the available OpenTelemetry C++ or Rust SDKs. As of now, to the best of our knowledge, there isn't any publicly known, dedicated C bridge for OpenTelemetry based on these SDKs. |
Beta Was this translation helpful? Give feedback.
-
The closest I've seen to a "tracing" api for "C" is Sentry's native - https://github.com/getsentry/sentry-native/blob/master/include/sentry.h#L1687 - but it's not OTEL., it's their own format. |
Beta Was this translation helpful? Give feedback.
-
How can OpenTelemetry be integrated into a C project? I saw that there is no C among the supported languages, only C++. Is there any case of integrating it into a C project?
https://opentelemetry.io/docs/instrumentation/
Beta Was this translation helpful? Give feedback.
All reactions