Skip to content

chyccs/sentry-dotnet-diagnostics

Repository files navigation

NuGet NuGet

It collects and updates the information that is not automatically collected among the various fields of sentry contexts using WMI

Usage

Using SDK library

Just install package in the Nuget

Install-Package DiagnosticsExtensions.Sentry

Let's getting started using the library

Configurations

        SentryService.Instance.Init(option => {
            option.AddEventProcessor(new DiagnosticsEventProcessor());
            option.AddTransactionProcessor(new DiagnosticsTransactionProcessor());
        });

        Application.Run(new Form1());

Add Breadcrumbs

    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);
        }

About

It collects and updates the information that is not automatically collected among the various fields of sentry contexts using WMI

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages