getsentry / getsentry/sentry-dotnet
Framework breadcrumbs are not captured in the event
- 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
Assessment
This issue has not been assessed yet.