Documentation ¶
Index ¶
- func Version() string
- type Option
- type Tracer
- func (t Tracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, ...) (context.Context, tracer.FieldFinishFunc)
- func (t Tracer) TraceQuery(ctx context.Context, queryString string, operationName string, ...) (context.Context, tracer.QueryFinishFunc)
- func (t Tracer) TraceValidation(ctx context.Context) tracer.ValidationFinishFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option specifies instrumentation configuration options.
func WithTracerProvider ¶
func WithTracerProvider(provider oteltrace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer. If none is specified, the global provider is used.
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (Tracer) TraceField ¶
func (Tracer) TraceQuery ¶
func (Tracer) TraceValidation ¶
func (t Tracer) TraceValidation(ctx context.Context) tracer.ValidationFinishFunc
Click to show internal directories.
Click to hide internal directories.