It collects and updates the information that is not automatically collected among the various fields of sentry contexts using WMI
Just install package in the Nuget
Install-Package DiagnosticsExtensions.Sentry
Let's getting started using the library
SentryService.Instance.Init(option => {
option.AddEventProcessor(new DiagnosticsEventProcessor());
option.AddTransactionProcessor(new DiagnosticsTransactionProcessor());
});
Application.Run(new Form1());
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
SentryService.Instance.AddBreadcrumb("websocket-starting-failed", "middleware", BreadcrumbTypes.ERROR, Sentry.BreadcrumbLevel.Error);
}