Skip to content

Commit

Permalink
remove outdated TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Nov 22, 2022
1 parent 7269e2f commit 34d29e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/tracing/src/browser/request.ts
Expand Up @@ -143,8 +143,6 @@ export function instrumentOutgoingRequests(_options?: Partial<RequestInstrumenta
* A function that determines whether to attach tracing headers to a request.
* This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.
* We only export this fuction for testing purposes.
*
* TODO (v8): Remove `tracingOrigins` which should drastically simplify this function.
*/
export function shouldAttachHeaders(url: string, tracePropagationTargets: (string | RegExp)[] | undefined): boolean {
return stringMatchesSomePattern(url, tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS);
Expand Down

0 comments on commit 34d29e4

Please sign in to comment.