Skip to content

Commit 4fb3945

Browse files
committed
remove sampler attribute in otel macro call
1 parent 8416cf9 commit 4fb3945

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

opentelemetry-sdk/src/trace/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ impl Default for Config {
188188
"Unrecognized sampler type '{}' in OTEL_TRACES_SAMPLER environment variable. Valid values are: always_on, always_off, traceidratio, parentbased_always_on, parentbased_always_off, parentbased_traceidratio. Using fallback sampler: ParentBased(AlwaysOn)",
189189
s
190190
),
191-
sampler = s
192191
);
193192
Box::new(Sampler::ParentBased(Box::new(Sampler::AlwaysOn)))
194193
}

0 commit comments

Comments
 (0)