Documentation ¶
Index ¶
- func AddSpanError(span trace.Span, err error)
- func AddSpanEvents(span trace.Span, name string, events map[string]string)
- func AddSpanTags(span trace.Span, tags map[string]string)
- func FailSpan(span trace.Span, msg string)
- func NewJaeger(cfg *config.Config) (*tracesdk.TracerProvider, error)
- func NewSpan(ctx context.Context, name string, cus SpanCustomiser) (context.Context, trace.Span)
- func SpanFromContext(ctx context.Context) trace.Span
- type SpanCustomiser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSpanError ¶
Types ¶
type SpanCustomiser ¶
type SpanCustomiser interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.