Documentation
¶
Index ¶
- func CreateRootSpan(ctx context.Context, name string) (opentracing.Span, opentracing.Tracer)
- func CreateSubChildSpan(parentSpan opentracing.Span, name string) opentracing.Span
- func LogError(sp opentracing.Span, err error)
- func LogObject(sp opentracing.Span, name string, resp interface{})
- func LogRequest(sp opentracing.Span, req interface{})
- func LogResponse(sp opentracing.Span, resp interface{})
- func NewJaeger(name string, config interfaces.JaegerConfig) interfaces.Jaeger
- func RootSpan(ctx context.Context) (opentracing.Span, opentracing.Tracer)
- type Jaeger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRootSpan ¶
func CreateSubChildSpan ¶
func CreateSubChildSpan(parentSpan opentracing.Span, name string) opentracing.Span
func LogRequest ¶
func LogRequest(sp opentracing.Span, req interface{})
func LogResponse ¶
func LogResponse(sp opentracing.Span, resp interface{})
func NewJaeger ¶
func NewJaeger(name string, config interfaces.JaegerConfig) interfaces.Jaeger
Types ¶
Click to show internal directories.
Click to hide internal directories.