SvelteKit Tracing #13021
Answered
by
AbhiPrasad
hlesmana-var
asked this question in
Q&A
SvelteKit Tracing
#13021
|
Hello, I'm trying to learn more about tracing works out of the box with BrowserTracing integration. Specifically, how does e.g if I have the below routes and /home is making fetch to GET /api/test In the above, should I be seeing the |
Answered by
AbhiPrasad
Jul 24, 2024
Replies: 1 comment 3 replies
|
Hey @hlesmana-var - the SDK uses the Sentry.init({
dsn: "PUBLIC_DSN",
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
}); |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No difference at all to the SDK between sveltekit fetch and native fetch.