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

Sentry SDK for .NET

Results 339 sentry-dotnet issues
Sort by recently updated
recently updated
newest added

### Problem Statement I am attempting to integrate Sentry into my [AvaloniaUI](https://www.avaloniaui.net/) application for error monitoring and reporting. However, I have encountered challenges as there doesn't seem to be official...

Feature
New Package

### Problem Statement We allocate a lot of `MemoryStream` buffers internally, in the hot path. It may be beneficial to use [`Microsoft.IO.RecyclableMemoryStream`](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream). This would reduce both allocations and garbage collection....

Feature
Optimization

Coming from https://github.com/getsentry/sentry-dotnet/pull/3501#issuecomment-2329663311 Our ASPNET Core package targets .NET6 and .NET8 specifically. https://github.com/getsentry/sentry-dotnet/blob/d955f6fb53464bd54b5378d441e458e426376b63/src/Sentry.AspNetCore/Sentry.AspNetCore.csproj#L4 So does our Blazor.WebAssembly offering https://github.com/getsentry/sentry-dotnet/blob/d955f6fb53464bd54b5378d441e458e426376b63/src/Sentry.AspNetCore.Blazor.WebAssembly/Sentry.AspNetCore.Blazor.WebAssembly.csproj#L4 Should this happen for other "inheritors" of the base ASPNET Core...

Repository Maintenance
Enhancement

The following code will result in duplicate exceptions events being reported to Sentry: ```csharp using var activity = Telemetry.ActivitySource.StartActivity("Funny business"); try { throw new Exception("test activity.RecordException"); } catch (Exception e)...

Bug
OpenTelemetry

### Problem Statement [.NET 8 is (likely) introducing official support for problem details responses](https://timdeschryver.dev/blog/translating-exceptions-into-problem-details-responses#problem-details-with-aspnet)... but these are also used in the wild already. Currently the SentryHttpMessageHandler doesn't pay any particular...

Feature

https://github.com/getsentry/sentry-dotnet/blob/e75d537c14ded617c99eb33f19cf4ce69ca4de36/src/Sentry/Reflection/AssemblyExtensions.cs#L44-L48

Enhancement

There's currently a TODO item in `Sentry.Protocol.Device` [added by Alexey here](https://github.com/getsentry/sentry-dotnet/commit/4016f2b1bec4e48a73e98afdde1251bbf4899a60). https://github.com/getsentry/sentry-dotnet/blob/e75d537c14ded617c99eb33f19cf4ce69ca4de36/src/Sentry/Protocol/Device.cs#L18-L26 A serialize -> deserialize can theoretically lose some information at the moment. See: https://github.com/getsentry/sentry-dotnet/blob/e6c1d6491a7b2af9f1d0e1d0944b33778cb3b8fe/test/Sentry.Tests/Protocol/Context/DeviceTests.cs#L199-L243 This is likely only...

Enhancement

### Package Sentry ### .NET Flavor .NET ### .NET Version 8.0.0 ### OS Browser ### SDK Version 4.9.0 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce Add Profiling...

Feature
Framework: Blazor
Product: Profiling

We've had multiple users report either memory leaks or high memory consumption when tracing is enabled in the SDK. Conversations with users exchanging logs etc. has not led to a...

Product: Tracing
OpenTelemetry