getsentry / getsentry/sentry-dotnet

Framework breadcrumbs are not captured in the event

Open
#1,492 10 comments 0 reactions 0 assignees View on GitHub
.NET Feature
Dominant language
C#
Stars
770
Forks
248
Avg merge
3d 4h
Merged PRs (30d)
49

Description

### Environment
Using ASP.NET Core 3.1 and `Sentry.AspNetCore` 3.12.3, sending events to our Sentry SaaS account.

### Steps to Reproduce
Send an event to Sentry after having performed an HTTP request with a `System.Net.Http.HttpClient`, with global default log level of `Information` and Sentry breadcrumbs enabled at the `Information` level.

### Expected Result
All information logs are included in the event, including the request / response information logs from `System.Net.Http.HttpClient` (request method / URL, response code).

### Actual Result
`System.*` / `Microsoft.*` logs appear to be excluded from breadcrumbs. Other information logs are correctly included (application and third party libraries). `System.*` / `Microsoft.*` logs are correctly displayed in the console when running locally with the same `appsettings.json`.

Is this normal behavior (e.g. to avoid overloading the breacrumbs array)? Some of these logs are pretty useful to perform diagnostics.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.