diff --git a/tracer/options.go b/tracer/options.go index dd185ce7..666f6f7d 100644 --- a/tracer/options.go +++ b/tracer/options.go @@ -171,7 +171,8 @@ func NewEventOptions(opts ...options.Option) EventOptions { // NewOptions returns default options func NewOptions(opts ...options.Option) Options { options := Options{ - Logger: logger.DefaultLogger, + Logger: logger.DefaultLogger, + Context: context.Background(), } for _, o := range opts { o(&options)