Avi Perl
03/15/2023, 6:15 PMAvi Perl
03/15/2023, 6:20 PMCasey Brooks
03/15/2023, 6:26 PMThreadLocal
probably won’t work. I doubt you’ll be able to set a global property and expect it to work, but a quick search looks like RequestContext could be the properly-scoped container that you could manage that data inAvi Perl
03/15/2023, 6:40 PMephemient
03/15/2023, 6:49 PMJan Dolinár
03/15/2023, 7:12 PMAvi Perl
03/15/2023, 7:17 PMSentry.setTag(...)
at the beginning of the request and it seems to successfully hold that tag across the lifetime of a request as I want to do here. This means either
1. They have a solution, or
2. I am misunderstanding sentry and I am using it wrong.
Yikes.ephemient
03/15/2023, 7:20 PMephemient
03/15/2023, 7:22 PMJan Dolinár
03/15/2023, 7:22 PMephemient
03/15/2023, 7:22 PMCasey Brooks
03/15/2023, 7:23 PMJan Dolinár
03/15/2023, 7:23 PMAvi Perl
03/15/2023, 7:26 PMephemient
03/15/2023, 7:27 PMAvi Perl
03/15/2023, 7:33 PMDavid Kubecka
03/16/2023, 9:36 AM