Sentry.DiagnosticSource 3.22.0
Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us, check out our open positions.
Sentry SDK for .NET
More Sentry .NET Integrations
Sentry offers other integrations that are not part of this repository:
- Sentry.Minidump: Capture Minidumps on Windows, macOS and Linux
- Sentry.Unity: Unity integrations
- Sentry.Xamarin: Xamarin native and Xamarin.Forms integrations
Looking for something else? Let us know by raising an issue.
Documentation
Each NuGet package in the table above has its custom view of the docs. Click on the badge to find the best documentation for your use case.
Sentry has extensive documentation for its SDKs on https://docs.sentry.io.
Additionally, our .NET API refererence docs are generated and deployed on each merge to main.
Samples
Consider taking a look at the samples directory for different types of apps and example usages of the SDK.
Looking for more samples? Check out this repository.
Compatibility
The packages target .NET Standard 2.0 and .NET Framework 4.6.1. They also include targets such as .NET 5, .NET 6 and platform-specific targets where appropriate. That means they are compatible with the following versions or newer:
- .NET 5.0
- .NET Core 2.0
- .NET Framework 4.6.1
- Mono 5.4
- Xamarin.Android 8.0
- Xamarin.iOS 10.14
- Xamarin.Mac 3.8
- Universal Windows Platform 10.0.16299
Of those, we run our unit and integration tests against the following:
- .NET 6 on Windows, macOS and Linux
- .NET Core 3.1 on Windows, macOS and Linux
- .NET Framework 4.8 on Windows
- Mono 6.12 on macOS and Linux
Sentry Protocol
For more details, please: refer to the documentation
Legacy frameworks
Sentry's Raven SDK is still available, and recommended for use with .NET Framework 3.5 to 4.6.0.
Resources
Showing the top 20 packages that depend on Sentry.DiagnosticSource.
| Packages | Downloads |
|---|---|
|
Sentry.AspNetCore
Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
|
6 |
|
Sentry.AspNetCore
Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
|
5 |
|
Sentry.AspNetCore
Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
|
4 |
Changes since version Features
Various fixes & improvements:
- Fix reported error count on a crashed session update (#1972) by @mattjohnsonpint
- Set default trace status to
okinstead ofunknown_error(#1970) by @mattjohnsonpint - Fix issues with envelope deserialization (#1965) by @mattjohnsonpint
- Support Dynamic Sampling (#1953) by @mattjohnsonpint
- Always recalculate payload length (#1957) by @mattjohnsonpint
- ignore null context values (#1942) by @SimonCropp
- tags should not differ based on current culture (#1949) by @SimonCropp
- Support long for message template tags in SentryLogger (#1945) by @babyjohn42
- respect IsSampled in SqlListener (#1933) by @SimonCropp
- chore: reuse danger workflow (#1936) by @vaind
- Add support for custom JsonConverters (#1934) by @mattjohnsonpint
- Add Blazor WASM detection to set IsGlobalModeEnabled to true (#1931) by @SimonCropp
- Exception filters should consider child exceptions of an
AggregateException(#1924) by @mattjohnsonpint - Fix missing details when aggregate exception is filtered out (#1922) by @mattjohnsonpint
- dont send transaction for OPTIONS web request (#1921) by @SimonCropp
- Add
User.Segmentproperty (#1920) by @mattjohnsonpint - Use URL path in transaction names instead of "Unknown Route" (#1919) by @mattjohnsonpint
- Reduce lock contention when sampling (#1915) by @mattjohnsonpint
- Add TransactionNameSource annotation (#1910) by @SimonCropp
- Update Sentry Cocoa SDK to 7.24.1 (#1912) by @mattjohnsonpint
- Update Sentry Android SDK to version 6.4.1 (#1911) by @mattjohnsonpint
- Attach stacktrace by default (#1907) by @mattjohnsonpint --> See full changelog at https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md
.NET Framework 4.6.1
- Sentry (>= 3.22.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
.NET Standard 2.0
- Sentry (>= 3.22.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
.NET Standard 2.1
- Sentry (>= 3.22.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
| Version | Downloads | Last updated |
|---|---|---|
| 6.1.0-alpha.1 | 0 | 01/11/2026 |
| 6.0.0 | 0 | 12/11/2025 |
| 6.0.0-rc.2-prerelease | 0 | 11/25/2025 |
| 6.0.0-rc.1-prerelease | 0 | 11/17/2025 |
| 6.0.0-preview.2-prerelease | 0 | 10/30/2025 |
| 6.0.0-preview.1-prerelease | 0 | 10/06/2025 |
| 5.16.2 | 1 | 11/11/2025 |
| 5.16.1 | 1 | 11/11/2025 |
| 5.16.0 | 1 | 11/11/2025 |
| 5.15.1 | 1 | 11/11/2025 |
| 5.15.1-maxpath.1 | 1 | 11/11/2025 |
| 5.15.0 | 2 | 09/14/2025 |
| 5.14.1 | 2 | 09/14/2025 |
| 5.14.0 | 2 | 09/14/2025 |
| 5.14.0-alpha.1 | 2 | 09/14/2025 |
| 5.14.0-alpha.0 | 2 | 09/14/2025 |
| 5.13.0 | 2 | 09/14/2025 |
| 5.12.0 | 2 | 09/14/2025 |
| 5.12.0-alpha.0 | 2 | 09/14/2025 |
| 5.11.2 | 3 | 07/10/2025 |
| 5.11.1 | 3 | 07/10/2025 |
| 5.11.0 | 3 | 07/10/2025 |
| 5.11.0-alpha.3 | 3 | 07/10/2025 |
| 5.11.0-alpha.1 | 3 | 07/10/2025 |
| 5.10.0 | 3 | 07/10/2025 |
| 5.9.0 | 2 | 07/10/2025 |
| 5.8.2-beta.1 | 3 | 07/10/2025 |
| 5.8.1 | 2 | 07/10/2025 |
| 5.8.0 | 3 | 05/26/2025 |
| 5.8.0-alpha.0 | 4 | 05/28/2025 |
| 5.7.0 | 4 | 05/26/2025 |
| 5.7.0-beta.0 | 4 | 05/28/2025 |
| 5.6.0 | 3 | 05/26/2025 |
| 5.5.1 | 4 | 05/25/2025 |
| 5.5.0 | 4 | 05/25/2025 |
| 5.4.0 | 4 | 05/26/2025 |
| 5.3.0 | 4 | 05/26/2025 |
| 5.2.0 | 4 | 02/27/2025 |
| 5.1.1 | 5 | 02/27/2025 |
| 5.1.0 | 4 | 02/27/2025 |
| 5.0.1 | 4 | 02/27/2025 |
| 5.0.0 | 5 | 02/27/2025 |
| 5.0.0-alpha.1 | 5 | 02/27/2025 |
| 5.0.0-alpha.0 | 5 | 02/27/2025 |
| 4.13.0 | 5 | 02/27/2025 |
| 4.12.2 | 5 | 02/27/2025 |
| 4.12.1 | 5 | 02/27/2025 |
| 4.12.1-segv1 | 5 | 02/27/2025 |
| 4.12.0 | 6 | 02/27/2025 |
| 4.11.0 | 5 | 02/27/2025 |
| 4.10.2 | 5 | 02/27/2025 |
| 4.10.1 | 5 | 02/27/2025 |
| 4.10.0 | 5 | 02/27/2025 |
| 4.9.0 | 6 | 02/27/2025 |
| 4.9.0-sync.collection.2 | 5 | 02/27/2025 |
| 4.9.0-sync.collection.1 | 5 | 02/27/2025 |
| 4.8.1 | 4 | 02/27/2025 |
| 4.8.0 | 4 | 02/27/2025 |
| 4.7.0 | 4 | 02/27/2025 |
| 4.6.2 | 4 | 02/27/2025 |
| 4.6.1 | 4 | 02/27/2025 |
| 4.6.0 | 4 | 02/27/2025 |
| 4.5.0 | 4 | 02/27/2025 |
| 4.4.0 | 5 | 02/27/2025 |
| 4.3.0 | 6 | 02/27/2025 |
| 4.2.1 | 4 | 02/27/2025 |
| 4.2.0 | 4 | 02/27/2025 |
| 4.1.2 | 4 | 02/27/2025 |
| 4.1.1 | 5 | 02/27/2025 |
| 4.1.0 | 4 | 02/27/2025 |
| 4.0.3 | 5 | 02/27/2025 |
| 4.0.2 | 4 | 02/27/2025 |
| 4.0.1 | 4 | 02/27/2025 |
| 4.0.0 | 5 | 02/27/2025 |
| 4.0.0-beta.9 | 5 | 02/27/2025 |
| 4.0.0-beta.8 | 5 | 02/27/2025 |
| 4.0.0-beta.7 | 5 | 02/27/2025 |
| 4.0.0-beta.6 | 5 | 02/27/2025 |
| 4.0.0-beta.5 | 5 | 02/27/2025 |
| 4.0.0-beta.4 | 5 | 02/27/2025 |
| 4.0.0-beta.3 | 5 | 02/27/2025 |
| 4.0.0-beta.2 | 7 | 02/27/2025 |
| 4.0.0-beta.1 | 5 | 02/27/2025 |
| 4.0.0-beta.0 | 5 | 02/27/2025 |
| 4.0.0-alpha.0 | 5 | 02/27/2025 |
| 3.41.4 | 5 | 02/27/2025 |
| 3.41.3 | 5 | 02/27/2025 |
| 3.41.2 | 5 | 02/27/2025 |
| 3.41.1 | 5 | 02/27/2025 |
| 3.41.0 | 5 | 02/27/2025 |
| 3.40.1 | 5 | 02/27/2025 |
| 3.40.0 | 5 | 02/27/2025 |
| 3.40.0-beta.0 | 5 | 02/27/2025 |
| 3.39.1 | 5 | 02/27/2025 |
| 3.39.0 | 5 | 02/27/2025 |
| 3.38.0 | 5 | 02/27/2025 |
| 3.36.0 | 5 | 02/27/2025 |
| 3.35.1 | 5 | 02/27/2025 |
| 3.35.0 | 5 | 02/27/2025 |
| 3.34.0 | 5 | 02/27/2025 |
| 3.33.1 | 5 | 02/27/2025 |
| 3.33.0 | 5 | 02/27/2025 |
| 3.32.0 | 5 | 02/27/2025 |
| 3.31.0 | 5 | 02/27/2025 |
| 3.30.0 | 5 | 02/27/2025 |
| 3.29.1 | 5 | 02/27/2025 |
| 3.29.0 | 5 | 02/27/2025 |
| 3.28.1 | 5 | 02/27/2025 |
| 3.28.0 | 5 | 02/27/2025 |
| 3.27.1 | 5 | 02/27/2025 |
| 3.27.0 | 5 | 02/27/2025 |
| 3.26.2 | 5 | 02/27/2025 |
| 3.26.1 | 5 | 02/27/2025 |
| 3.26.0 | 5 | 02/27/2025 |
| 3.25.0 | 5 | 02/27/2025 |
| 3.24.1 | 5 | 02/27/2025 |
| 3.24.0 | 5 | 02/27/2025 |
| 3.23.1 | 5 | 02/27/2025 |
| 3.23.0 | 5 | 02/27/2025 |
| 3.22.0 | 5 | 02/27/2025 |
| 3.21.0 | 5 | 02/27/2025 |
| 3.20.1 | 5 | 02/27/2025 |
| 3.20.0 | 5 | 02/27/2025 |
| 3.19.0 | 5 | 02/27/2025 |
| 3.18.0 | 5 | 02/27/2025 |
| 3.17.1 | 5 | 02/27/2025 |
| 3.17.0 | 5 | 02/27/2025 |
| 3.16.0 | 5 | 02/27/2025 |
| 3.15.0 | 5 | 02/27/2025 |
| 3.14.1 | 5 | 02/27/2025 |
| 3.14.0 | 5 | 02/27/2025 |
| 3.13.0 | 5 | 02/27/2025 |
| 3.12.3 | 5 | 02/27/2025 |
| 3.12.2 | 5 | 02/27/2025 |
| 3.12.1 | 5 | 02/27/2025 |
| 3.12.0 | 5 | 02/27/2025 |
| 3.12.0-alpha.1 | 5 | 02/27/2025 |
| 3.11.1 | 5 | 02/27/2025 |
| 3.11.0 | 5 | 02/27/2025 |
| 3.10.0 | 5 | 02/27/2025 |
| 3.9.4 | 5 | 02/27/2025 |
| 3.9.3 | 5 | 02/27/2025 |
| 3.9.2 | 5 | 02/27/2025 |
| 3.9.1 | 5 | 02/27/2025 |
| 3.9.0 | 6 | 02/27/2025 |
