Documentation ¶
Index ¶
- type Tracer
- func (t *Tracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, ...) (context.Context, func(*errors.QueryError))
- func (t *Tracer) TraceQuery(ctx context.Context, queryString string, operationName string, ...) (context.Context, func([]*errors.QueryError))
- func (t *Tracer) TraceValidation(ctx context.Context) func([]*errors.QueryError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
Tracer is an OpenTelemetry implementation for graphql-go. Set the Tracer property to your tracer instance as required.
func DefaultTracer ¶
func DefaultTracer() *Tracer
DefaultTracer creates a tracer using a default name.
func (*Tracer) TraceField ¶
func (*Tracer) TraceQuery ¶
func (*Tracer) TraceValidation ¶
func (t *Tracer) TraceValidation(ctx context.Context) func([]*errors.QueryError)
Click to show internal directories.
Click to hide internal directories.