[#XX] tracing: Always sample
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
6dd265d949
commit
1681570017
1 changed files with 1 additions and 0 deletions
|
@ -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)),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue