Alibaba Cloud Observability and Datadog Release OpenTelemetry Go Automatic Instrumentation Tool

Alibaba Cloud and Datadog jointly released an open-source OpenTelemetry Go tool enabling zero-code tracing via compile-time injection. In the cloud-native observability realm, OpenTelemetry has bec...

By · · 1 min read
Alibaba Cloud Observability and Datadog Release OpenTelemetry Go Automatic Instrumentation Tool

Source: DEV Community

Alibaba Cloud and Datadog jointly released an open-source OpenTelemetry Go tool enabling zero-code tracing via compile-time injection. In the cloud-native observability realm, OpenTelemetry has become the de facto standard. Compared to Java, which possesses mature bytecode enhancement technology, the Go language, as a static compiled language, has long lacked a mature, low-intrusion automatic instrumentation solution. Current existing solutions mainly include: 1.eBPF: powerful but mainly leans towards the system call level. The processing of application-layer context (such as HTTP header propagation) is relatively complex. 2.Manual tracking: significant code changes and high maintenance costs. It requires modifying business code and the invocation methods of dependency libraries, explicitly adding traces and metrics logic at various key points. To this end, the Alibaba Cloud Observability team and the Programming Language team explored the Go compile-time instrumentation solution and d