Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenTelemetry Go Compile Instrumentation

License

NotificationsYou must be signed in to change notification settings

open-telemetry/opentelemetry-go-compile-instrumentation

OpenTelemetry Logo
GoLicenseStatusSlack

Important

This is a work in progress and not ready for production use. 🚨

Overview

This project provides a tool to automatically instrument Go applications withOpenTelemetry at compile-time.It modifies the Go build process to inject OpenTelemetry code into the applicationwithout requiring manual changes to the source code.

Highlights:

  • Zero Runtime Overhead - Instrumentation is baked into your binary at compile time
  • Zero Code Changes - Automatically instrument entire applications and dependencies
  • Third-Party Library Support - Instrument libraries you don't control
  • Complete Decoupling - Keep your codebase free from instrumentation concerns
  • Flexible Deployment - Integrate at development time or in your CI/CD pipeline

Quick Start

1. Build the Tool

git clone https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation.gitcd opentelemetry-go-compile-instrumentationmake build

Theotel binary will be built in the root directory.

2. Try the Demo

Just prefix the originalgo build command withotel.

cd demo/basic../../otel go build./basic[... output ...]

3. Run the Tests

maketest

Community

Documentation

Video Talks

Get Help

Contributing

We welcome contributions! See ourcontributing guide anddevelopment docs.

This project follows theOpenTelemetry Code of Conduct.

About

OpenTelemetry Go Compile Instrumentation

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors16


[8]ページ先頭

©2009-2025 Movatter.jp