otmux

package module
v0.0.0-...-49ff50b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 3 Imported by: 3

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(tracers ...opentracing.Tracer) opentracing.Tracer

Types

This section is empty.

Directories

Path Synopsis
cmd
httptrace Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL