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

[iss-167] X-RAY creates new session #180

Conversation

polamayster
Copy link
Contributor

*Issue #167 *

Description of changes:
Added empty AWS credentials for botocore versions before signature_version=UNSIGNED to prevent unnecessary/redundant credentials retrieval (IAM role) as they actually are not needed for a x-ray client.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Bohdan Kuzema added 3 commits November 7, 2019 15:43
@polamayster
Copy link
Contributor Author

polamayster commented Nov 7, 2019

tests fail due to #179 or more preciselly to say boto/botocore#1829

@chanchiem
Copy link
Contributor

chanchiem commented Nov 19, 2019

PR #179 is merged; tests pass. Rebasing current PR

@codecov-io
Copy link

codecov-io commented Nov 19, 2019

Codecov Report

Merging #180 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
- Coverage    83.4%   83.33%   -0.07%     
==========================================
  Files          77       77              
  Lines        2910     2910              
==========================================
- Hits         2427     2425       -2     
- Misses        483      485       +2
Impacted Files Coverage Δ
aws_xray_sdk/core/sampling/connector.py 47.94% <ø> (ø) ⬆️
aws_xray_sdk/core/sampling/local/reservoir.py 88.88% <0%> (-11.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 697f06a...f597438. Read the comment docs.

Copy link
Contributor

@chanchiem chanchiem left a comment

Choose a reason for hiding this comment

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

Looks good.

Thank you very much for your contribution!

@chanchiem chanchiem merged commit 324d185 into aws:master Nov 21, 2019
@polamayster
Copy link
Contributor Author

@chanchiem thanks a lot for a collaboration!

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.

4 participants