Documentation
¶
Index ¶
- Variables
- func DeleteSpanTraceId()
- func FinishSpan(span opentracing.Span)
- func GetSpanTraceId() interface{}
- func InitTracer(serviceName, agentHostPort string) error
- func SetSpanTraceId(ID interface{})
- func SpanSetTag(span opentracing.Span, tagname string, tagvalue interface{})
- func StartSpan(operationName, parentSpanTraceId string, startIfNoParent bool, ...) (span opentracing.Span, spanTraceId string, err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Tracer opentracing.Tracer Closer io.Closer )
Functions ¶
func DeleteSpanTraceId ¶
func DeleteSpanTraceId()
func FinishSpan ¶
func FinishSpan(span opentracing.Span)
func GetSpanTraceId ¶
func GetSpanTraceId() interface{}
func InitTracer ¶
func SetSpanTraceId ¶
func SetSpanTraceId(ID interface{})
func SpanSetTag ¶
func SpanSetTag(span opentracing.Span, tagname string, tagvalue interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.