Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement parent based sampler #1577

Merged
merged 11 commits into from
Oct 13, 2020
Prev Previous commit
Next Next commit
chore: lint
  • Loading branch information
dyladan committed Oct 9, 2020
commit 025aa5e063743cff8043b9576a83fbcbf0162180
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export class ParentBasedSampler implements Sampler {
this._root = config.root;

if (!this._root) {
globalErrorHandler(new Error("ParentBasedSampler must have a root sampler configured"))
globalErrorHandler(
new Error('ParentBasedSampler must have a root sampler configured')
);
this._root = new AlwaysOnSampler();
}

Expand Down