opentracing

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct{}

Tracer implements the graphql-go Tracer interface and creates OpenTracing spans.

func (Tracer) TraceField

func (Tracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, func([]byte, *errors.QueryError))

func (Tracer) TraceQuery

func (Tracer) TraceQuery(ctx context.Context, queryString string, operationName string, variables map[string]interface{}, varTypes map[string]*introspection.Type) (context.Context, func([]byte, []*errors.QueryError))

func (Tracer) TraceValidation

func (Tracer) TraceValidation(ctx context.Context) func([]*errors.QueryError)

Jump to

Keyboard shortcuts

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