QuackAlert

QuackAlert

5xx errors in production?
Get notified instantly.

Lightweight library for .NET that monitors your application and sends email alerts when something goes wrong. Setup in under 2 minutes.

Secure & reliable
2-minute setup
$dotnet add package QuackAlert
Compatible with .NET 8.0

Set up in two simple steps

No complexity. No unnecessary boilerplate.

1

Add configuration to appsettings.json

appsettings.json
{
  "QuackAlert": {
    "Enabled": true,
    "Environment": "Production",
    "Email": {
      "SmtpHost": "smtp.gmail.com",
      "SmtpPort": 587,
      "SmtpUser": "your-email@gmail.com",
      "SmtpPassword": "your-app-password",
      "From": "your-email@gmail.com",
      "To": "recipient@email.com",
      "EnableSsl": true
    }
  }
}

Security best practice

In production environments, avoid storing sensitive email configuration values directly in appsettings.json

Prefer supplying these values through environment variables, for example QuackAlert__Email__SmtpPassword

Any values defined in appsettings.json will be automatically overridden when the corresponding environment variables are provided

2

Register middleware in your startup pipeline

Program.cs
using QuackAlert.Extensions;

builder.Services.AddQuackAlert(options => {
    builder.Configuration
        .GetSection("QuackAlert")
        .Bind(options);
});

var app = builder.Build();
app.UseQuackAlert();
That is it! You are all set up and ready to go.

Roadmap

Upcoming features to enhance your monitoring experience

Managed Alerting Platform

Centralized event ingestion with managed alert delivery, intelligent rules, retention and built-in notifications. No SMTP or infrastructure required.

In development

Multi-Channel Notifications

Send alerts via Email, Webhooks, Slack and Discord with configurable rules, thresholds and cooldowns.

In development

Alert Dashboard & History

Visual dashboards with alert history, trends, filtering by application and environment, and configurable retention policies.

In development
© 2026 by João Victor