Skip to content

Commit

Permalink
remove sampler attribute in otel macro call
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Nov 1, 2024
1 parent 8416cf9 commit 4fb3945
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opentelemetry-sdk/src/trace/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ impl Default for Config {
"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)",
s
),

Check warning on line 190 in opentelemetry-sdk/src/trace/config.rs

View check run for this annotation

Codecov / codecov/patch

opentelemetry-sdk/src/trace/config.rs#L187-L190

Added lines #L187 - L190 were not covered by tests
sampler = s
);
Box::new(Sampler::ParentBased(Box::new(Sampler::AlwaysOn)))
}
Expand Down

0 comments on commit 4fb3945

Please sign in to comment.