sentry-dotnet
sentry-dotnet copied to clipboard
Sentry SDK for .NET
### Problem Statement ```csharp // Program.cs WebApplicationBuilder builder = WebApplication.CreateBuilder(args); builder.WebHost.UseSentry(); WebApplication app = builder.Build(); app.Use(async (context, next) => { ISpan s1 = SentrySdk.GetSpan(); // null await next(); ISpan s2...
The `MainExceptionProcessor` handles setting the mechanism here: https://github.com/getsentry/sentry-dotnet/blob/c30052e99d981aec3d6ff1bda42c3395a2376fe7/src/Sentry/Internal/MainExceptionProcessor.cs#L177-L188 So this code ends up with `Handled = true` ``` try { throw new Exception(); } catch (Exception ex) { // will...
TLDR; When dropping a transaction, also report the spans that got dropped too. Context: https://github.com/getsentry/team-sdks/issues/88
### Package Sentry.Serilog ### .NET Flavor Other ### .NET Version 8.0.0 ### OS iOS ### SDK Version 4.7.0 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce # Issue:...
### Package Sentry.Maui ### .NET Flavor .NET ### .NET Version 7.0.0 ### OS Any (not platform specific) ### SDK Version 4.7.0 ### Self-Hosted Sentry Version _No response_ ### Steps to...
Sentry dotnet SDK is blowing away User.IpAddress if we set it explicitly and SendDefaultPii is true
### Package Sentry ### .NET Flavor .NET ### .NET Version 4.7.2 ### OS Windows ### SDK Version 4.4.0 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce 1. Set...
### Package Sentry.Maui ### .NET Flavor .NET ### .NET Version 8.0.0 ### OS Android ### SDK Version Sentry.Maui 3.41.3 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce Hello,...
### Package Sentry.AspNetCore ### .NET Flavor .NET Core ### .NET Version 6.0 ### OS Windows ### SDK Version 3.23.0 or higher ### Self-Hosted Sentry Version _No response_ ### Steps to...
Based on the [.NET Docs](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options?pivots=dotnet-8-0#root-assemblies): `If an assembly is not trimmed, it's considered "rooted", which means that it and all of its statically understood dependencies will be kept. Additional assemblies...