Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Make Sample configurable #2

Open
Sebruck opened this issue Mar 18, 2018 · 1 comment
Open

Make Sample configurable #2

Sebruck opened this issue Mar 18, 2018 · 1 comment

Comments

@Sebruck
Copy link
Member

Sebruck commented Mar 18, 2018

Problem
Currently the Sampler for each span is fixed to Sampler.alwaysSample(), which is not feasible for most of the production setups.

Goal
Make it possible to configure the sampler.

Ideas
Via configuration file: Percentage spans sampled (as default)
Via code: When creating a span or using one of the trace functions it should be possible to override the sampler individually

@Sebruck
Copy link
Member Author

Sebruck commented Mar 19, 2018

Partial done. A global default can be configured in the config.

Sebruck@4179154

Missing: Override default on span basis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant