rgjaeger

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTracer

func GetTracer(header http.Header) (opentracing.Tracer, opentracing.SpanContext, io.Closer, error)

从上下文中解析并创建一个新的 trace,获得传播的 上下文(SpanContext)

func JaegerStatus

func JaegerStatus() bool

func SetJaegerStatus

func SetJaegerStatus(status bool)

Types

type Client

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

func New

func New(ctx opentracing.SpanContext, tracer opentracing.Tracer) *Client

func (*Client) Reset

func (c *Client) Reset(ctx opentracing.SpanContext, tracer opentracing.Tracer)

func (*Client) Send

func (c *Client) Send(action string, param map[string]interface{}, parentSpanInterface interface{}) opentracing.SpanContext

Jump to

Keyboard shortcuts

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