diff --git a/gqlopencensus/tracer.go b/gqlopencensus/tracer.go index 97176f43202..8a19d543677 100644 --- a/gqlopencensus/tracer.go +++ b/gqlopencensus/tracer.go @@ -25,6 +25,20 @@ func New(opts ...Option) graphql.Tracer { type tracerImpl int +func (tracerImpl) StartOperationParsing(ctx context.Context) context.Context { + return ctx +} + +func (tracerImpl) EndOperationParsing(ctx context.Context) { +} + +func (tracerImpl) StartOperationValidation(ctx context.Context) context.Context { + return ctx +} + +func (tracerImpl) EndOperationValidation(ctx context.Context) { +} + func (tracerImpl) StartOperationExecution(ctx context.Context) context.Context { ctx, span := trace.StartSpan(ctx, operationName(ctx)) if !span.IsRecordingEvents() {