
Lightweight library for .NET that monitors your application and sends email alerts when something goes wrong. Setup in under 2 minutes.
No complexity. No unnecessary boilerplate.
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
using QuackAlert.Extensions;
builder.Services.AddQuackAlert(options => {
builder.Configuration
.GetSection("QuackAlert")
.Bind(options);
});
var app = builder.Build();
app.UseQuackAlert();Upcoming features to enhance your monitoring experience
Centralized event ingestion with managed alert delivery, intelligent rules, retention and built-in notifications. No SMTP or infrastructure required.
Send alerts via Email, Webhooks, Slack and Discord with configurable rules, thresholds and cooldowns.
Visual dashboards with alert history, trends, filtering by application and environment, and configurable retention policies.