Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SpanOption ¶
type SpanOption func(span opentracing.Span)
func SpanWithError ¶
func SpanWithError(err error) SpanOption
func SpanWithLog ¶
func SpanWithLog(arg ...interface{}) SpanOption
example: SpanWithLog(
"event", "soft error", "type", "cache timeout", "waited.millis", 1500)
Click to show internal directories.
Click to hide internal directories.