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

Add support for samplingRate #533

Merged
merged 4 commits into from
Nov 12, 2021
Merged

Conversation

suniltheta
Copy link
Contributor

Issue
aws/aws-app-mesh-roadmap#371

Description of changes:
Add back support for samplingRate
This reverts commit 413e594. #522

This support was originally added in #512

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@suniltheta suniltheta requested a review from cgchinmay November 11, 2021 07:15
pkg/inject/config.go Outdated Show resolved Hide resolved
@suniltheta suniltheta requested a review from cgchinmay November 11, 2021 15:39
@suniltheta suniltheta requested a review from cgchinmay November 11, 2021 17:20
Copy link
Contributor

@cgchinmay cgchinmay left a comment

Choose a reason for hiding this comment

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

/lgtm

@cgchinmay
Copy link
Contributor

@suniltheta What is the behavior with envoy image older than 1.19.1.1 ?

@cgchinmay cgchinmay self-requested a review November 12, 2021 00:38
@suniltheta
Copy link
Contributor Author

suniltheta commented Nov 12, 2021

Envoy image prior to 1.19.1.1, there will be no effect even if we set this value. The X-ray sampling will still pick default value of 0.05.
We would set the env variable XRAY_SAMPLING_RATE based on that we would push a config that is ineffective.

Copy link
Contributor

@cgchinmay cgchinmay left a comment

Choose a reason for hiding this comment

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

/lgtm

@cgchinmay cgchinmay merged commit e47fac8 into aws:master Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants