Documentation ¶
Index ¶
- func New() common.SpanManager
- func NewSpan(format string, args ...any) common.Span
- func NewSpanWithContext(ctx context.Context, format string, args ...any) common.Span
- func NewSpanWithHeader(header http.Header, format string, args ...any) common.Span
- func NewSpanWithRequest(request *http.Request) common.Span
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpanWithContext ¶
NewSpanWithContext 基于 <context.Context> 创建链路跟踪.
func NewSpanWithHeader ¶
NewSpanWithHeader 基于 <http.Header> 创建链路跟踪.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.