Description
Loongsuite Go Agent is an automatic OpenTelemetry instrumentation tool for Go applications, from Alibaba. It instruments code at compile time, so the target application needs no code changes. You enable it by adding an otel prefix to your go build command. The README says both the tool and the instrumented application need Go 1.25 or later. Prebuilt binaries are available, and an install script for Linux and macOS puts the otel tool in /usr/local/bin/otel by default. You can also build the tool from source. The Getting Started section says that once the tool is installed, adding otel before go build instruments your project automatically, and that you can then observe the application. The README says that if go build works but the instrumented build fails, it is likely a bug, and asks people to report it on GitHub Issues. The examples folder includes an end-to-end demo with OpenTelemetry tracing and metrics, zap logging auto-instrumentation, a benchmark for measuring overhead, a custom code-injection example for SQL injection detection, net/http request and response monitoring, a Kratos framework demo, and a Kafka consumer monitoring demo. A table lists the supported libraries with minimum and maximum versions. The project is open source and hosted on GitHub.…
Highlights
- Compile-time OpenTelemetry instrumentation
- No code changes in the target application
- Prebuilt binaries and a Bash install script
- Auto-instrumentation for zap logging
- Examples for net/http, Kratos and Kafka
Ratings & Reviews
No ratings yet
Be the first to rate Loongsuite Go.
People also visit
Opentelemetry Go Instrumentation
OpenTelemetry auto-instrumentation for Go applications

golang-observability
Golang everyday observability — the always-on signals in production

otel-instrumentation
OpenTelemetry SDK setup, custom instrumentation, and sending data to Honeycomb
Loongsuite Go FAQ
What is Loongsuite Go Agent?
A tool that adds OpenTelemetry instrumentation to Go applications at compile time, when you build with otel go build.
Do I need to change my code?
No. The README says the instrumentation is done at compile time, so the target application needs no code changes.
How do I install it?
Use the prebuilt binaries or the Bash install script, which places otel in /usr/local/bin on Linux and macOS. You can also build from source.
What Go version does it need?
Go 1.25 or later, for both the tool and the instrumented application.
Which libraries are supported?
The README has a table of supported libraries with minimum and maximum versions, plus examples for net/http, zap, Kratos and Kafka.
What are the best Loongsuite Go alternatives?
Popular alternatives to Loongsuite Go include SkyAPM-dotnet. See all Loongsuite Go alternatives



