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 6a43375 commit 32a4071Copy full SHA for 32a4071
platform-includes/distributed-tracing/custom-instrumentation/server/javascript.mdx
@@ -28,10 +28,7 @@ Here's an example of how to extract and store incoming tracing information using
28
const http = require("http");
29
30
http.createServer((request, response) => {
31
- const sentryTraceHeaders = request.headers["sentry-trace"];
32
- const sentryTrace = Array.isArray(sentryTraceHeaders)
33
- ? sentryTraceHeaders.join(",")
34
- : sentryTraceHeaders;
+ const sentryTrace = request.headers["sentry-trace"];
35
const baggage = request.headers["baggage"];
36
37
Sentry.continueTrace({ sentryTrace, baggage }, () => {
0 commit comments