C# Error and Performance Monitoring

Actionable insights to solve C# errors.

Try Sentry For FreeRequest a Demo

Getting Started is Simple

Install the NuGet package to add the Sentry dependency:

dotnet add package Sentry -v 3.5.0

Initialize the SDK as early as possible, like in the Main method in Program.cs/Program.fs:

using (SentrySdk.Init(o => {
  // Tells which project in Sentry to send events to:
  o.Dsn = "https://<key>@sentry.io/<project>";
  // When configuring for the first time, to see what the SDK is doing:
  o.Debug = true;
  // Set traces_sample_rate to 1.0 to capture 100% of transactions for performance monitoring.
  // We recommend adjusting this value in production.
  o.TracesSampleRate = 1.0; }))
{
  // App code goes here - Disposing will flush events out
}

That’s it. There’s no step three. Don’t believe us? Check out our Documentation.

See all platforms

More than 70K Organizations Trust Sentry with Their Application Monitoring

C# Error Monitoring with Complete Stack Traces

See C# stack trace details like filename and line number so you never have to guess. Filter and group C# exceptions intuitively to eliminate noise. Monitor errors at scale without impacting throughput in production.

C# Performance Monitoring

Quickly identify C# performance issues before they become downtime. View the entire end-to-end distributed trace to see the exact, poor-performing API call and surface any related errors.

Fill In The Blanks About C# Errors

Expose the important events that led to each C# exception: debug logs, network requests, database queries, past errors.

See the Full Picture of Any C# Exception

With Sentry's exceptional exception handling in C#, you can triage quickly based on specific parameters like HTTP request, workflow stage, and hostname for each issue. Set custom tags to recreate the error environment relevant to your app, business concerns, and users.

Sentry character illustration

Resolve C# errors with max efficiency, not max effort

  • Improve workflow with a full view of releases so you can mark errors as resolved and prioritize live issues.
  • Learn in which version a bug first appeared, merge duplicates, and know if things regress in a future release.
  • Add commit data to automatically suggest an owner of each C#error and instantly send deploy emails.
Manage releases with Sentry

”Sentry's high-quality tooling helps Disney+ maintain high-quality service to its tens of millions of global subscribers.”

Andrew Hay
Director of Engineering at Disney Streaming Services

Is your data secure? You better believe it.

Just look at all the high-quality security features all accounts get, regardless of plan.

  • Two-factor auth
  • Signle sign on
  • Organization audit log
  • SOC-2 Certified
Learn more about security
  • Privacy Shield certified
  • PLL data scrubbing
  • SSL encrypted
  • COPPA Compliant
Learn more about privacy

FAQs

Traditional logging provides you with a trail of events. Some of those events are errors, but many times they’re simply informational. Sentry is fundamentally different because we focus on exceptions, or in other words, we capture application crashes. We discuss in more detail here and on our blog.

When Spring Boot is configured to generate Git information every event triggered by Sentry will have a release field set to the current Git commit ID that will enable Monitor Release Health Sentry feature. More details here.

You can get started for free. Pricing depends on the number of monthly events, transactions, and attachments that you send Sentry. For more details, visit our pricing page.

Supporting Resources

Improve your 99% latency with 1% effort.
Try Sentry’s C# monitoring today.

© 2021 • Sentry is a registered Trademark
of Functional Software, Inc.