Clone this repo:
  1. e1998db Prerelease v0.25.0/v1.2.2 (#3962) by Mike Dame · 2 weeks ago upstream/main sdk/v1.2.2 v0.25.0
  2. fa0d544 Add deprecation notice (#3592) by Mike Dame · 2 weeks ago
  3. 1f19034 chore(deps): update module github.com/aws/smithy-go to v1.28.9 (#3934) by renovate[bot] · 3 weeks ago
  4. 83ebc4b chore(deps): update github.com/golangci/rowserrcheck digest to 7f680fe (#3949) by renovate[bot] · 3 weeks ago
  5. fbeb3b9 chore(deps): update docker/setup-buildx-action action to v4.4.1 (#3947) by renovate[bot] · 3 weeks ago

OpenTelemetry Go Automatic Instrumentation

PkgGoDev

[!WARNING] This project is being merged with OpenTelemetry eBPF Instrumentation (OBI)

OpenTelemetry Go Automatic Instrumentation is being merged with OBI and this repository is no longer actively maintained. OBI is the upstream OpenTelemetry project for zero-code, eBPF-based application observability.

Current users of OpenTelemetry Go Automatic Instrumentation can expect existing releases to keep working, but end users and vendors should move to OBI for continued support and maintenance.

Migrate to OBI

If you face issues or feature gaps while migrating from this project, open an issue in the OBI repository describing your scenario, what you are doing, and the outcome you expect. Feedback and opinions are also welcome in the OBI GitHub Discussions or on Slack so they can inform the OBI roadmap. Due to limited maintainer bandwidth, there are no official plans to provide zero-change migrations from this project to OBI, but any contributions toward this goal are welcome.

This repository provides OpenTelemetry tracing instrumentation for Go libraries using eBPF.

Compatibility

OpenTelemetry Go Automatic Instrumentation is compatible with all current supported versions of the Go language.

Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.

For versions of Go that are no longer supported upstream, this repository will stop ensuring compatibility with these versions in the following manner:

  • A minor release will be made to add support for the new supported release of Go.
  • The following minor release will remove compatibility testing for the oldest (now archived upstream) version of Go. This, and future, releases may include features only supported by the currently supported versions of Go.

Currently, OpenTelemetry Go Automatic Instrumentation is tested for the following environments.

OSGo VersionArchitecture
Ubuntu1.27amd64
Ubuntu1.26amd64
Ubuntu1.27arm64
Ubuntu1.26arm64

Automatic instrumentation should work on any Linux kernel above 4.4.

OpenTelemetry Go Automatic Instrumentation supports the arm64 architecture. CI tests the supported Go versions on Ubuntu arm64 runners.

Users of non-Linux operating systems can use the Docker images or create a virtual machine to compile and run OpenTelemetry Go Automatic Instrumentation.

See COMPATIBILITY.md for information about what Go packages this project provides instrumentation for.

Get started

See Getting started for setup, deployment, and configuration steps.

You can also try the Tutorial for a guide on setting up a sample Emojivoto application.

For technical and design info, see How it works.

Configuration

See the configuration documentation.

Contributing

See the contributing documentation.

License

OpenTelemetry Go Automatic Instrumentation is licensed under the terms of the Apache Software License version 2.0. See the license file for more details.

Third-party licenses and copyright notices can be found in the LICENSES directory.