|
Hi. Sentry.startSpan(StartSpanOptions, () => {
// some request to get userId
Sentry.setUser({ id: userId });
Sentry.setContext(ctxName, ctx);
}); |
Answered by
T1MOXA
Jul 21, 2024
Replies: 2 comments 1 reply
|
Hey @T1MOXA
If you want to set information on a particular span, use |
1 reply
|
I ended up rewriting code to setUser and setContext before startSpan |
0 replies
Answer selected by
T1MOXA
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up rewriting code to setUser and setContext before startSpan