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 xray.AWSSession to install handlers on session #97

Merged
merged 1 commit into from
Jul 3, 2019

Commits on Jul 2, 2019

  1. Add xray.AWSSession to install handlers on session

    An application has to call xray.AWS for each AWS client it constructs.
    This creates opportunities for blind spots if someone forgets to
    configure a new client.
    
    The xray.AWSSession installs the same handlers at the Session level.
    Clients inherit handlers from the session they're created with. As long
    as the application systematically reuses the same session to create
    clients, it only needs to install X-Ray handlers once.
    logan committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    ebf643a View commit details
    Browse the repository at this point in the history