Skip to content

Commit

Permalink
Merge pull request #165 from ahom/tr
Browse files Browse the repository at this point in the history
fix: Remove trace origin field
  • Loading branch information
ahom authored Mar 6, 2022
2 parents 1ab72fc + f197a92 commit bfe9834
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export class HttpRequest {
await exec();
} else {
const subSegment = new Segment(`Toaztr-${this.event.routeKey?.replace(/\{|\}/g, ':')}`, segment.trace_id, segment.id);
subSegment.origin = 'Toaztr::HTTP';
await getNamespace().runPromise(async function() {
setSegment(subSegment);
await exec();
Expand Down

0 comments on commit bfe9834

Please sign in to comment.