You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing. The Generic Host guide now covers worker services, with a BackgroundService example and guidance to start a transaction per unit of work, and samples/Sentry.Samples.GenericHost shows the setup. If something specific is still missing, please open a docs issue for it.
Activity
mattjohnsonpint commentedon Apr 14, 2023
Also, explain clearly that global mode should be
falsefor background workers. Update docs forIsGlobalMode.See https://twitter.com/vekzdran/status/1646886760096362497
mattjohnsonpint commentedon Apr 14, 2023
POC:
mattjohnsonpint commentedon Apr 18, 2023
Updated POC. Requires vNext (3.31.0) for #2303 & #2309.
Kampfmoehre commentedon Jan 24, 2024
@mattjohnsonpint Just a quick follow up question, how would I retrieve a transaction like the one started in your sample? With
SentrySdk.GetSpan()?20 remaining items
jamescrosswell commentedon Nov 26, 2026
Closing. The Generic Host guide now covers worker services, with a
BackgroundServiceexample and guidance to start a transaction per unit of work, andsamples/Sentry.Samples.GenericHostshows the setup. If something specific is still missing, please open a docs issue for it.