Skip to content

Commit

Permalink
Rename Ignore to Drop for SamplingResult (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas authored Sep 17, 2020
1 parent 5035e82 commit 90e4b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Returns the sampling Decision for a `Span` to be created.
It produces an output called `SamplingResult` which contains:

* A sampling `Decision`. One of the following enum values:
* `IGNORE` - `IsRecording() == false`, span will not be recorded and all events and attributes
* `DROP` - `IsRecording() == false`, span will not be recorded and all events and attributes
will be dropped.
* `RECORD_ONLY` - `IsRecording() == true`, but `Sampled` flag MUST NOT be set.
* `RECORD_AND_SAMPLE` - `IsRecording() == true` AND `Sampled` flag` MUST be set.
Expand All @@ -120,7 +120,7 @@ The default sampler is `ParentBased(root=AlwaysOn)`.

#### AlwaysOff

* Returns `IGNORE` always.
* Returns `DROP` always.
* Description MUST be `AlwaysOffSampler`.

#### TraceIdRatioBased
Expand Down

0 comments on commit 90e4b81

Please sign in to comment.