-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Logan Hanks
committed
Apr 11, 2019
1 parent
5ffa743
commit 0c0e329
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters