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

Change default sampling rate from 100% to 0% #14318

Merged
merged 1 commit into from
Aug 6, 2022

Conversation

damemi
Copy link

@damemi damemi commented Aug 5, 2022

This changes the default parent-based trace sampling rate from
100% to 0%. Due to the high QPS etcd can handle, having 100% trace
sampling leads to very high resource usage. Defaulting to 0% means
that only already-sampled traces will be sampled in etcd.

Fixes #14310

This changes the default parent-based trace sampling rate from
100% to 0%. Due to the high QPS etcd can handle, having 100% trace
sampling leads to very high resource usage. Defaulting to 0% means
that only already-sampled traces will be sampled in etcd.

Fixes etcd-io#14310

Signed-off-by: Mike Dame <mikedame@google.com>
@damemi
Copy link
Author

damemi commented Aug 5, 2022

cc @dashpole

ahrtr added a commit to ahrtr/etcd that referenced this pull request Aug 6, 2022
Refer to etcd-io#14318

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it's consistent with the behavior in the main branch.

Thank you @damemi

@ahrtr
Copy link
Member

ahrtr commented Aug 6, 2022

Also thanks @dashpole for the review.

@ahrtr ahrtr merged commit 6145831 into etcd-io:release-3.5 Aug 6, 2022
ahrtr added a commit to ahrtr/etcd that referenced this pull request Aug 6, 2022
Refer to etcd-io#14318

Signed-off-by: Benjamin Wang <wachao@vmware.com>
ahrtr added a commit to ahrtr/etcd that referenced this pull request Aug 6, 2022
Refer to etcd-io#14318

Signed-off-by: Benjamin Wang <wachao@vmware.com>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/etcd that referenced this pull request Oct 7, 2022
Refer to etcd-io#14318

Signed-off-by: Benjamin Wang <wachao@vmware.com>
tjungblu pushed a commit to tjungblu/etcd that referenced this pull request Jul 26, 2023
Refer to etcd-io#14318

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants