sentry-dotnet
sentry-dotnet copied to clipboard
Add default metrics
There are various metrics that have already been instrumented in .NET which users might be interested in sending to Sentry:
- Built In Metrics that are accessible via the System.Diagnostics.Metrics API.
- Well known Counters
- Polly resilience metrics
- Available Threads
- FirstChanceException
We'll likely resolve this issue in multiple Pull Requests:
- [ ] https://github.com/getsentry/sentry-dotnet/pull/3052
- [ ] https://github.com/getsentry/sentry-dotnet/pull/3100
Furthermore, the Polly.Extensions package now provides seamless integration with IServiceCollection and facilitates the export of Polly’s telemetry events into .NET metrics.
https://devblogs.microsoft.com/dotnet/building-resilient-cloud-services-with-dotnet-8/
maybe something interesting to tap into
Added FirstChanceException
to the list (I recall we talked about it but I couldn't find a ticket)
Added
FirstChanceException
to the list (I recall we talked about it but I couldn't find a ticket)
Yeah I remember discussing it. Were we just thinking of a counter for that one (# of first chance exceptions)?
I wanted to double check that sampling of Observable instruments (eg ObservableCounter) is on the radar for this? Just had a play with the experimental feature and noticed it wasn't reporting any of the observable instruments yet (MeterListener.RecordObservableInstruments is never invoked)
We are otherwise looking forward to trying out Metrics with Sentry
I wanted to double check that sampling of Observable instruments (eg ObservableCounter) is on the radar for this?
It is now!