diff --git a/tracer/options.go b/tracer/options.go index 4c1c0f74..1f7fc7f9 100644 --- a/tracer/options.go +++ b/tracer/options.go @@ -159,7 +159,8 @@ func NewSpanOptions(opts ...SpanOption) SpanOptions { // NewOptions returns default options func NewOptions(opts ...Option) Options { options := Options{ - Logger: logger.DefaultLogger, + Logger: logger.DefaultLogger, + Context: context.Background(), } for _, o := range opts { o(&options)