Documentation ¶
Index ¶
- func Close() error
- func FinishConsumerSpan(sp opentracing.Span, hasError bool)
- func FinishHTTPSpan(sp opentracing.Span, code int)
- func Initialize()
- func Setup(name, agentAddress string) error
- func StartConsumerSpan(name string, cmp Component, hdr map[string]string) opentracing.Span
- func StartHTTPSpan(path string, r *http.Request) opentracing.Span
- func Tracer() opentracing.Tracer
- type Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinishConsumerSpan ¶
func FinishConsumerSpan(sp opentracing.Span, hasError bool)
FinishConsumerSpan finished a kafka consumer span.
func FinishHTTPSpan ¶
func FinishHTTPSpan(sp opentracing.Span, code int)
FinishHTTPSpan finishes a HTTP span.
func StartConsumerSpan ¶
StartConsumerSpan start a new kafka consumer span.
func StartHTTPSpan ¶
StartHTTPSpan starts a new HTTP span.
Types ¶
Click to show internal directories.
Click to hide internal directories.