Skip to content

Commit 8cf8fda

Browse files
committed
Cleanup a bit more code
1 parent 5c17cc9 commit 8cf8fda

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tracing.ts

-5
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,6 @@ export class Trace extends Span {
190190
}
191191
headers.append('content-type', 'application/json');
192192

193-
// TODO: Properly pass trace context down and update the tests
194-
if (!headers.has('x-trace-id')) {
195-
headers.append('x-trace-id', this.getTraceId());
196-
}
197-
198193
let body;
199194
if (this.#tracerOptions.collector.transformer) {
200195
body = this.#tracerOptions.collector.transformer.transform(this);

0 commit comments

Comments
 (0)