Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The SDK defines the interface [`Sampler`](#sampler) as well as a set of

### Sampler

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

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

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

#### AlwaysOn

* This is the default sampler.
* Returns `RECORD_AND_SAMPLED` always.
* Description MUST be `AlwaysOnSampler`.

Expand Down