Skip to content

Commit 5ae4ebb

Browse files
Change the default sampler to ParentOrElse(AlwaysOn) (open-telemetry#750)
* Change the default sampler to ParentOrElse(AlwaysOn) * addressed some review comments * more review feedback
1 parent 36b20ef commit 5ae4ebb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

specification/trace/sdk.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The SDK defines the interface [`Sampler`](#sampler) as well as a set of
4949

5050
### Sampler
5151

52-
`Sampler` interface allows to create custom samplers which will return a
52+
`Sampler` interface allows users to create custom samplers which will return a
5353
sampling `SamplingResult` based on information that is typically available just
5454
before the `Span` was created.
5555

@@ -94,10 +94,11 @@ be displayed on debug pages or in the logs. Example:
9494
Description MUST NOT change over time and caller can cache the returned value.
9595

9696
### Built-in samplers
97+
OpenTelemetry supports a number of built-in samplers to choose from.
98+
The default sampler is `ParentOrElse(AlwaysOn)`.
9799

98100
#### AlwaysOn
99101

100-
* This is the default sampler.
101102
* Returns `RECORD_AND_SAMPLED` always.
102103
* Description MUST be `AlwaysOnSampler`.
103104

0 commit comments

Comments
 (0)