-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
87 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Consistent sampling | ||
|
||
This component adds various Sampler implementations for consistent sampling as defined by | ||
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md | ||
and https://github.com/open-telemetry/opentelemetry-specification/pull/2047. | ||
|
||
* **ConsistentSampler**: | ||
abstract base class of all consistent sampler implementations below | ||
* **ConsistentAlwaysOffSampler**: | ||
see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#always-off-sampler | ||
* **ConsistentAlwaysOnSampler**: | ||
see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#always-on-consistent-probability-sampler | ||
* **ConsistentComposedAndSampler**: | ||
allows combining two consistent samplers and samples when both samplers would sample | ||
* **ConsistentComposedOrSampler**: | ||
allows combining two consistent sampler and samples when at least one of both samplers would sample, | ||
see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#requirement-combine-multiple-consistent-probability-samplers-using-the-minimum-p-value | ||
* **ConsistentParentBasedSampler**: | ||
see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#parentconsistentprobabilitybased-sampler | ||
* **ConsistentProbabilityBasedSampler**: | ||
see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#consistentprobabilitybased-sampler | ||
* **ConsistentRateLimitingSampler**: | ||
a rate limiting sampler based on exponential smoothing that dynamically adjusts the sampling | ||
probability based on the estimated rate of spans occurring to satisfy a given rate of sampled spans | ||
|
||
## Component owners | ||
|
||
- [Otmar Ertl](https://github.com/oertl), Dynatrace | ||
|
||
Learn more about component owners in [component_owners.yml](../.github/component_owners.yml). |