Skip to content

Commit

Permalink
Added propagation context urls
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrolomanto committed Jun 4, 2024
1 parent 3cec956 commit fdb215c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/web/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ export function register() {
serviceName: "vercel-datadog",
instrumentationConfig: {
fetch: {
propagateContextUrls: [/^https:\/\/sqs\d+/],
dontPropagateContextUrls: [/no-propagation\=1/],
attributesFromRequestHeaders: {
"request.cmd": "X-Cmd",
},
attributesFromResponseHeaders: {
"response.server": "X-Server",
},
propagateContextUrls: ["*"],
},
},
attributesFromHeaders: {
client: "X-Client",
},
});
}

0 comments on commit fdb215c

Please sign in to comment.