We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2568721 commit f8293b9Copy full SHA for f8293b9
src/trace/xray-service.ts
@@ -75,6 +75,7 @@ export class XrayService {
75
});
76
}
77
78
+ // Example: Root=1-5e272390-8c398be037738dc042009320;Parent=94ae789b969f1cc5;Sampled=1
79
public static parseAWSTraceHeader(awsTraceHeader: string): XrayTraceHeader | undefined {
80
const [root, parent, _sampled] = awsTraceHeader.split(";");
81
if (parent === undefined || _sampled === undefined) return;
0 commit comments