Documentation ¶
Index ¶
- func Fork(ctx context.Context, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- func Htrace(h http.Handler, name string) http.Handler
- func Init(ctx context.Context, name string) (context.Context, func(context.Context) error)
- func Meter(ctx context.Context) api.Meter
- func NamedSpan(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- func NewHTTP(ctx context.Context) *httpHandle
- func Span(ctx context.Context, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- func Tracer(ctx context.Context) trace.Tracer
- type SampleRate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SampleRate ¶
type SampleRate string
const ( SampleAlways SampleRate = "always" SampleNever SampleRate = "never" )
Click to show internal directories.
Click to hide internal directories.