tracer

package
v0.0.0-...-77a304a Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(conf *config.TracerConfig) opentracing.Tracer

NewTracer starts and returns a opentracing tracer

func NoopTracer

func NoopTracer() opentracing.Tracer

NoopTracer is no tracer

func StartDatadogTracer

func StartDatadogTracer(conf *config.TracerDetailConfig, hostName string) opentracing.Tracer

StartDatadogTracer is to get Datadog tracer

func StartJaegerTracers

func StartJaegerTracers(conf *config.TracerDetailConfig) opentracing.Tracer

StartJaegerTracers is to get Jaeger tracer

Types

type TraceLog

type TraceLog struct {
	TraceID string `json:"trace_id"`
	SpanID  string `json:"span_id"`
}

TraceLog is traceID and spanID

Jump to

Keyboard shortcuts

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