opentracing

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

The opentracing package provides tracing functionality using OpenTracing.

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(*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([]*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