generated from TrueCloudLab/basic
[#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
|
prevProvider := provider
|
||||||
|
|
||||||
provider = sdktrace.NewTracerProvider(
|
provider = sdktrace.NewTracerProvider(
|
||||||
|
sdktrace.WithSampler(sdktrace.AlwaysSample()),
|
||||||
sdktrace.WithBatcher(exp),
|
sdktrace.WithBatcher(exp),
|
||||||
sdktrace.WithResource(newResource(&cfg)),
|
sdktrace.WithResource(newResource(&cfg)),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue