Documentation ¶
Index ¶
- func AddTraceToLogger(span tr.Span, logger logger.Provider) logger.Provider
- func AddTracerToClient(httpClient *http.Client, tracerProvider tr.TracerProvider) *http.Client
- func CopyToBackground(ctx context.Context) context.Context
- func StartSpan(ctx context.Context, tracer tr.Tracer, name string, opts ...tr.SpanStartOption) (context.Context, func(options ...tr.SpanEndOption))
- type App
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTraceToLogger ¶ added in v4.37.0
func AddTracerToClient ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) GetProvider ¶
func (a App) GetProvider() tr.TracerProvider
Click to show internal directories.
Click to hide internal directories.