diff --git a/options.go b/options.go index 5e19195..38e308a 100644 --- a/options.go +++ b/options.go @@ -8,8 +8,8 @@ import ( type providerKey struct{} -func Provider(opts ...tracesdk.TracerProvider) tracer.Option { - return tracer.SetOption(providerKey{}, opts) +func Provider(tp *tracesdk.TracerProvider) tracer.Option { + return tracer.SetOption(providerKey{}, tp) } type providerOptionsKey struct{}