The OpenTracing project is archived. Learn more.
Migrate to OpenTelemetry today!

bash
# Start Jaeger locally
$ docker run -d -p 6831:6831/udp -p 16686:16686 jaegertracing/all-in-one:latest
$ export DOCKER_IP=`docker-machine ip $(docker-machine active)`
$ cd $GOPATH/src

# Grab a simple, self-contained OpenTracing example
$ go get github.com/opentracing-contrib/examples/go
$ cd github.com/opentracing-contrib/examples/go
$ go run ./trivial.go $DOCKER_IP

# Visualize the tracing instrumentation in Jaeger by
# clicking on "Find Traces" in the UI.
$ open http://$DOCKER_IP:16686/

# Read the source!
$ vim trivial.go

    

Vendor-neutral APIs and instrumentation for distributed tracing

Libraries available in 9 languages

Go, JavaScript, Java, Python, Ruby, PHP, Objective-C, C++, C#

The latest from our blog:

App developer?

Get started instrumenting your code with OpenTracing.

Let's go!

Framework developer?

Add OpenTracing to your open source project and help your users in the process.

Get started!

We are an archived CNCF project.