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, message string)
- func NewSpan(ctx context.Context, name string) (context.Context, trace.Span)
- func SpanFromContext(ctx context.Context) trace.Span
- type Provider
- type ProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSpanError ¶
Types ¶
type Provider ¶
type Provider struct {
Provider trace.TracerProvider
}
func NewProvider ¶
func NewProvider(config ProviderConfig) (Provider, error)
Click to show internal directories.
Click to hide internal directories.