Features
- ASP.NET Core: Blocking call detection. An event with the stack trace of the blocking call will be captured as event. (#2709)
- IMPORTANT: Verify this in test/staging before prod! Blocking calls in hot paths could create a lot of events for your Sentry project.
- Opt-in via
options.CaptureBlockingCalls = true
- Disabled for specific code blocks with
using (new SuppressBlockingDetection())
- Doesn't detect everything. See original Caveats described by Ben Adams.
- Added Crons support via
SentrySdk.CaptureCheckIn
and an integration with Hangfire (#3128) - Common tags set automatically for metrics and metrics summaries are attached to Spans (#3191)
API changes
- Removed
ScopeExtensions
class - all the public methods moved directly toScope
(#3186)
Fixes
- The Sentry Middleware on ASP.NET Core no longer throws an exception after having been initialized multiple times (#3185)
- Empty strings are used instead of underscores to replace invalid metric tag values (#3176)
- Filtered OpenTelemetry spans are garbage collected correctly (#3198)