opentracer

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenTracer

type OpenTracer interface {
	Tracer() opentracing.Tracer
	Close() error
}

type ServiceTracer

type ServiceTracer struct {
	// contains filtered or unexported fields
}

func NewServiceTracer

func NewServiceTracer(config config.OpenTracingConfig, tracer OpenTracer) *ServiceTracer

func (*ServiceTracer) Close

func (tracer *ServiceTracer) Close() error

func (*ServiceTracer) TraceClient

func (tracer *ServiceTracer) TraceClient(operationName string, tags map[string]interface{}) (*TraceRecord, error)

func (*ServiceTracer) TraceServer

func (tracer *ServiceTracer) TraceServer(operationName string, carrier opentracing.TextMapCarrier, tags map[string]interface{}) (*TraceRecord, error)

type TraceRecord

type TraceRecord struct {
	// contains filtered or unexported fields
}

func (*TraceRecord) Carrier

func (record *TraceRecord) Carrier() opentracing.TextMapCarrier

func (*TraceRecord) Finish

func (record *TraceRecord) Finish()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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