Documentation
¶
Index ¶
- type NoopTracer
- func (NoopTracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, ...) (context.Context, TraceFieldFinishFunc)
- func (NoopTracer) TraceQuery(ctx context.Context, queryString string, operationName string, ...) (context.Context, TraceQueryResponse, TraceQueryFinishFunc)
- type OpenTracingTracer
- func (OpenTracingTracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, ...) (context.Context, TraceFieldFinishFunc)
- func (OpenTracingTracer) TraceQuery(ctx context.Context, queryString string, operationName string, ...) (context.Context, TraceQueryResponse, TraceQueryFinishFunc)
- type TraceFieldFinishFunc
- type TraceQueryFinishFunc
- type TraceQueryResponse
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopTracer ¶
type NoopTracer struct{}
func (NoopTracer) TraceField ¶
func (NoopTracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, TraceFieldFinishFunc)
func (NoopTracer) TraceQuery ¶
func (NoopTracer) TraceQuery(ctx context.Context, queryString string, operationName string, variables interface{}, varTypes map[string]*introspection.Type) (context.Context, TraceQueryResponse, TraceQueryFinishFunc)
type OpenTracingTracer ¶
type OpenTracingTracer struct{}
func (OpenTracingTracer) TraceField ¶
func (OpenTracingTracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, TraceFieldFinishFunc)
func (OpenTracingTracer) TraceQuery ¶
func (OpenTracingTracer) TraceQuery(ctx context.Context, queryString string, operationName string, variables interface{}, varTypes map[string]*introspection.Type) (context.Context, TraceQueryResponse, TraceQueryFinishFunc)
type TraceFieldFinishFunc ¶
type TraceQueryFinishFunc ¶
type TraceQueryFinishFunc func()
type TraceQueryResponse ¶
type Tracer ¶
type Tracer interface { TraceQuery(ctx context.Context, queryString string, operationName string, variables interface{}, varTypes map[string]*introspection.Type) (context.Context, TraceQueryResponse, TraceQueryFinishFunc) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, TraceFieldFinishFunc) }
Click to show internal directories.
Click to hide internal directories.