sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Crons doesn't work

Open bruno-garcia opened this issue 10 months ago • 3 comments

I added 2 monitors in this PR a few weeks ago:

  • https://github.com/dotnet/nuget-trends/pull/262

I was hoping it would just work, since hangfire has the information about how often the job should run etc and docs have no reference about upserting not being supported.

Since there is not instruction for .NET (plain .NET nor Hangfire, my use case), I commented about it here:

  • https://github.com/getsentry/sentry/issues/44377

So because of that I created a type CLI: I used the same monitor name as I added to code: NuGetCatalogImporter.Import. I was hoping the name would also be automatic given we know that in the code, but that's a separate feature request filed here:

  • https://github.com/getsentry/sentry-dotnet/issues/3219

After creating it manually I saw: image

But it created one telling me the slug is nugetcatalogimporterimport. Does that mean the id I added to code won't work?

What's more concerning is that I don't see any dropped crons: image

Is the SDK sending pings but it's not showing because I didn't create the monitor correctly? If so, should it at least show as dropped crons checkins in the Stats page?

I'm not sure how to proceed to get Crons working with .NET

bruno-garcia avatar Apr 05 '24 00:04 bruno-garcia