diff --git a/tracing/setup.go b/tracing/setup.go index 2fca75b..9b96d56 100644 --- a/tracing/setup.go +++ b/tracing/setup.go @@ -62,6 +62,7 @@ func Setup(ctx context.Context, cfg Config) (bool, error) { prevProvider := provider provider = sdktrace.NewTracerProvider( + sdktrace.WithSampler(sdktrace.AlwaysSample()), sdktrace.WithBatcher(exp), sdktrace.WithResource(newResource(&cfg)), )