graphaelli / otmux

Experimental Opentracing Multiplexer for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Experimental Opentracing Multiplexer for Go

License:Apache License 2.0


Languages

Language:Go 100.0%