We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7269e2f commit 34d29e4Copy full SHA for 34d29e4
packages/tracing/src/browser/request.ts
@@ -143,8 +143,6 @@ export function instrumentOutgoingRequests(_options?: Partial<RequestInstrumenta
143
* A function that determines whether to attach tracing headers to a request.
144
* This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.
145
* We only export this fuction for testing purposes.
146
- *
147
- * TODO (v8): Remove `tracingOrigins` which should drastically simplify this function.
148
*/
149
export function shouldAttachHeaders(url: string, tracePropagationTargets: (string | RegExp)[] | undefined): boolean {
150
return stringMatchesSomePattern(url, tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS);
0 commit comments