Skip to content

Commit a73018a

Browse files
carlosalbertojmacd
andauthored
Update specification/trace/sdk.md
Co-authored-by: Joshua MacDonald <[email protected]>
1 parent 74eb817 commit a73018a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specification/trace/sdk.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -610,15 +610,15 @@ The following configuration properties should be available when creating the sam
610610

611611
This is a sampler decorator. `AlwaysRecord` helps to have spans between
612612
always be processed by `SpanProcessor`s. It returns the following given
613-
a sampled flag from the root sampler:
613+
a sampled flag from the delegate sampler:
614614

615-
* Root sampler returns `DROP` -> AlwaysRecord returns `RECORD_ONLY`
616-
* Root sampler returns `RECORD_ONLY` -> AlwaysRecord returns `RECORD_ONLY`
617-
* Root sampler returns `RECORD_AND_SAMPLE` -> AlwaysRecord returns `RECORD_AND_SAMPLE`
615+
* Delegate sampler returns `DROP` -> AlwaysRecord returns `RECORD_ONLY`
616+
* Delegate sampler returns `RECORD_ONLY` -> AlwaysRecord returns `RECORD_ONLY`
617+
* Delegate sampler returns `RECORD_AND_SAMPLE` -> AlwaysRecord returns `RECORD_AND_SAMPLE`
618618

619619
Required parameters:
620620

621-
* `root(Sampler)` - A delegate sampler called to determine whether a span
621+
* `delegate(Sampler)` - A delegate sampler called to determine whether a span
622622
is sampled or dropped
623623

624624
#### CompositeSampler

0 commit comments

Comments
 (0)