Documentation ¶
Index ¶
- Variables
- func Init() io.Closer
- type GraphQLTracer
- func (t *GraphQLTracer) ExecutionDidStart(ctx context.Context) (context.Context, graphql.ExecutionFinishFunc)
- func (t *GraphQLTracer) GetResult(ctx context.Context) interface{}
- func (t *GraphQLTracer) HasResult() bool
- func (t *GraphQLTracer) Init(ctx context.Context, p *graphql.Params) context.Context
- func (t *GraphQLTracer) Name() string
- func (t *GraphQLTracer) ParseDidStart(ctx context.Context) (context.Context, graphql.ParseFinishFunc)
- func (t *GraphQLTracer) ResolveFieldDidStart(ctx context.Context, i *graphql.ResolveInfo) (context.Context, graphql.ResolveFieldFinishFunc)
- func (t *GraphQLTracer) ValidationDidStart(ctx context.Context) (context.Context, graphql.ValidationFinishFunc)
Constants ¶
This section is empty.
Variables ¶
View Source
var Tracer = otel.Tracer("dagger")
Functions ¶
Types ¶
type GraphQLTracer ¶
type GraphQLTracer struct { }
func (*GraphQLTracer) ExecutionDidStart ¶
func (t *GraphQLTracer) ExecutionDidStart(ctx context.Context) (context.Context, graphql.ExecutionFinishFunc)
func (*GraphQLTracer) GetResult ¶
func (t *GraphQLTracer) GetResult(ctx context.Context) interface{}
func (*GraphQLTracer) HasResult ¶
func (t *GraphQLTracer) HasResult() bool
func (*GraphQLTracer) Name ¶
func (t *GraphQLTracer) Name() string
func (*GraphQLTracer) ParseDidStart ¶
func (t *GraphQLTracer) ParseDidStart(ctx context.Context) (context.Context, graphql.ParseFinishFunc)
func (*GraphQLTracer) ResolveFieldDidStart ¶
func (t *GraphQLTracer) ResolveFieldDidStart(ctx context.Context, i *graphql.ResolveInfo) (context.Context, graphql.ResolveFieldFinishFunc)
func (*GraphQLTracer) ValidationDidStart ¶
func (t *GraphQLTracer) ValidationDidStart(ctx context.Context) (context.Context, graphql.ValidationFinishFunc)
Click to show internal directories.
Click to hide internal directories.