tracing

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpanFromContext

func SpanFromContext(ctx context.Context, name string, opts ...tracer.StartSpanOption) (ddtrace.Span, context.Context)

Types

type DBTracer

type DBTracer struct {
	// contains filtered or unexported fields
}

func NewDBTracer

func NewDBTracer(serviceName string) *DBTracer

func (*DBTracer) Log

func (l *DBTracer) Log(ctx context.Context, level pgx.LogLevel, msg string, data map[string]any)

Jump to

Keyboard shortcuts

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