Important
This is a work in progress and not ready for production use. 🚨
This project provides a tool to automatically instrument Go applications with OpenTelemetry at compile time.
It modifies the Go build process to inject OpenTelemetry code into the application without requiring manual changes to the source code.
-
Build the otel tool
git clone https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation.git cd opentelemetry-go-compile-instrumentation make build
-
Build the application with the tool and run it
make demo
See the contributing documentation for general contribution guidelines.
See the developing documentation for tool development.
For the code of conduct, please refer to our OpenTelemetry Community Code of Conduct
This project is licensed under the terms of the Apache Software License version 2.0.