Skip to content

Commit

Permalink
fix: Set aws api call xray subsegment namespace to aws (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
haotiantest committed Feb 16, 2022
1 parent 09f98ed commit 36d4e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/utils/http-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const createXRaySubsegment = (
start_time: startTime,
end_time: undefined,
in_progress: false,
namespace: 'remote'
namespace: name.endsWith('amazonaws.com') ? 'aws' : 'remote'
};
if (http) {
subsegment.http = http;
Expand Down

0 comments on commit 36d4e3c

Please sign in to comment.