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

Configure sampling rules #57

Open
pokryfka opened this issue Aug 3, 2020 · 0 comments
Open

Configure sampling rules #57

pokryfka opened this issue Aug 3, 2020 · 0 comments
Labels
enhancement New feature or request low-priority

Comments

@pokryfka
Copy link
Owner

pokryfka commented Aug 3, 2020

The XRay SDK should:

  • use the sampling rules defined in the X-Ray console and/or
  • load sampling rules from a JSON document.

https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-configuration.html#xray-sdk-java-configuration-sampling

Note that:

On AWS Lambda, you cannot modify the sampling rate. If your function is called by an instrumented service, calls that generated requests that were sampled by that service will be recorded by Lambda. If active tracing is enabled and no tracing header is present, Lambda makes the sampling decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

1 participant