tracer

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() common.SpanManager

New 管理器单例.

func NewSpan

func NewSpan(format string, args ...any) common.Span

NewSpan 创建链路跟踪.

func NewSpanWithContext

func NewSpanWithContext(ctx context.Context, format string, args ...any) common.Span

NewSpanWithContext 基于 <context.Context> 创建链路跟踪.

func NewSpanWithHeader

func NewSpanWithHeader(header http.Header, format string, args ...any) common.Span

NewSpanWithHeader 基于 <http.Header> 创建链路跟踪.

func NewSpanWithRequest

func NewSpanWithRequest(request *http.Request) common.Span

NewSpanWithRequest 基于 <http.Request> 创建链路跟踪.

Types

This section is empty.

Directories

Path Synopsis
model
Package model contains the Zipkin V2 model which is used by the Zipkin Go tracer implementation.
Package model contains the Zipkin V2 model which is used by the Zipkin Go tracer implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL