Skip to content

Commit 5ca9ef6

Browse files
committed
add comment
1 parent 52604ef commit 5ca9ef6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opentelemetry-sdk/src/trace/sampler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ impl ShouldSample for Sampler {
177177
// Also, it is currently *NOT* possible to check suppression mode or
178178
// even access current context in the span processor's OnEnd method. See
179179
// https://github.com/open-telemetry/opentelemetry-rust/issues/2871
180+
// TODO: Can we move this even earlier, i.e. in the Tracer itself?
180181
// TODO: Check and fix: why this methods gets Option<&Context> and not
181182
// Context?
182183
if let Some(parent_context) = parent_context {

0 commit comments

Comments
 (0)