getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
566 stars 203 forks source link

Hangfire not in cron #3309

Closed TimVerheul closed 4 weeks ago

TimVerheul commented 4 weeks ago

Package

Sentry.AspNetCore

.NET Flavor

.NET

.NET Version

8.0.202

OS

Any (not platform specific)

SDK Version

4.3.0

Self-Hosted Sentry Version

No response

Steps to Reproduce

use AddHangfire with UseSentry() in Program.cs. Use RecurringJob.AddOrUpdate and BackgroundJob.Enqueue.

Expected Result

RecurringJob.AddOrUpdate and BackgroundJob.Enqueue should show up in the crons. But it doesn't

Actual Result

For the RecurringJob.AddOrUpdate and BackgroundJob.Enqueue the crons are not showing up. It looks like UseSentry is doing nothing.

bitsandfoxes commented 4 weeks ago

Hi @TimVerheul. Thanks for raising this. We're working and prioritizing fixing up our Crons support next and are tracking it over here: https://github.com/getsentry/sentry-dotnet/issues/3262

Closing this issue as duplicate.