{"repo":"alibaba/loongsuite-go","free":true,"listed":false,"github":"https://github.com/alibaba/loongsuite-go","clone":"git clone https://github.com/alibaba/loongsuite-go.git","description":"OpenTelemetry Compile-Time Instrumentation for Golang","language":"Go","stars":894,"topics":["go","instrumentation","observability","opentelemetry","tracing","apm","metrics"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"&nbsp; &nbsp; Loongsuite Go Agent provides an automatic solution for Golang applications that want to leverage OpenTelemetry to enable effective observability. No code changes are required in the target application, the instrumentation is done at compile time. Simply adding otel prefix to go build to get started :rocket: Installation Prebuilt Binaries - - - - - This is the recommended way to install the tool. Install via Bash For Linux and MacOS users, the following script will install otel in /usr/local/bin/otel by default: Build from Source Getting Started Make sure the tool is installed: Just adding otel prefix to go build to build your project: That's the whole process! The tool will automatically instrument your code with OpenTelemetry, and you can start to observe your application. :telescope: The detailed usage of otel tool can be found in Usage . [!NOTE] If you find any compilation failures while go build works, it's likely a bug. Please feel free to file a bug at GitHub Issues to help us enhance this project. Examples - demo - End-to-end example with OpenTelemetry tracing and metrics - zap logging - Auto-instrumentation for github.com/uber-go/zap logging - benchmark - Performance testing and overhead measurement - sql injection - Custom code injection for SQL injection detection - nethttp - HTTP monitoring with request/response instrumentation - kratos-demo - Integration with the Kratos framework - kafka-demo - Kafka Consumer Message monitoring Supported Libraries Li","default_branch":null,"files":null,"tree":[],"storefront":"/r/alibaba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alibaba/loongsuite-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}