From 16815700171e6a65568f52de229a7a2957763eb4 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Wed, 4 Sep 2024 11:27:22 +0300 Subject: [PATCH] [#XX] tracing: Always sample Signed-off-by: Airat Arifullin --- tracing/setup.go | 1 + 1 file changed, 1 insertion(+) 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)), )