Skip to content

Conflicting docs about default value of (JS) tracePropagationTargets #15368

@keysmashes

Description

@keysmashes

SDK

JavaScript SDK

Description

The docs for tracePropagationTargets simultaneously state that the default value is ['localhost', /^\/$/] and ['localhost', /^\//]. I figure it's probably not the first one, because it would seem weird to only attach tracing metadata to requests to / (and that was also added later, in 138df69), but I'm not 100% sure and I can't find the code where it's actually defined.

Suggested Solution

I'm very happy to open a PR if someone can confirm what the default actually is!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions