/otmux

Experimental Opentracing Multiplexer for Go

Primary LanguageGoApache License 2.0Apache-2.0

Opentracing Multiplexer for Go

This is an experiment for duplicating all trace reporting through multiple opentracing tracers within a single go application. It is not intended for production use.

Quickstart

import (
	"github.com/graphaelli/otmux"
)

tracer := otmux.NewTracer(elasticOpenTracer, jaegerOpenTracer)
opentracing.SetGlobalTracer(tracer)

Example

cmd/ contains an example client and server wired up to:

An example of the same trace represented across those systems: All tracing the same activity