Documentation
¶
Index ¶
- Variables
- func GetSpanID(span opentracing.Span) string
- func GetTraceID(span opentracing.Span) string
- func NewJaegerTracer(connCfg *Config, serviceName string) (opentracing.Tracer, io.Closer, error)
- func SetBasicTags(ctx context.Context, span opentracing.Span)
- func SetLogID(ctx context.Context, span opentracing.Span)
- func SetRequest(span opentracing.Span, request interface{})
- func SetResponse(span opentracing.Span, response interface{})
- func SetTraceTag(ctx context.Context, span opentracing.Span)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var Tracer opentracing.Tracer
Functions ¶
func GetTraceID ¶
func GetTraceID(span opentracing.Span) string
func NewJaegerTracer ¶
func SetBasicTags ¶ added in v1.0.11
func SetRequest ¶
func SetRequest(span opentracing.Span, request interface{})
func SetResponse ¶
func SetResponse(span opentracing.Span, response interface{})
func SetTraceTag ¶ added in v1.0.11
Types ¶
Click to show internal directories.
Click to hide internal directories.