Class WatchdogAlertOptions

Assembly: redb.Tsak.Core.dll

Alert delivery configuration, bound from Tsak:Watchdog:Alerts.

Everything is off by default: no channel delivers until it is explicitly enabled and
given its connection parameters. Enabling alone does nothing — at least
one channel must also be enabled.

public sealed class WatchdogAlertOptions

Inheritance

Object→WatchdogAlertOptions

Properties

DedupWindowMinutes

Suppression window: the same alert (context+route+exchange+level) is delivered at most once

public double DedupWindowMinutes { get; set; }

Email

public EmailChannelOptions Email { get; set; }

Enabled

Master switch. Default: false.

public bool Enabled { get; set; }

Endpoint

public EndpointChannelOptions Endpoint { get; set; }

MinLevel

Minimum severity that triggers delivery: "Suspected" or "Hung".

public string MinLevel { get; set; }

Telegram

public TelegramChannelOptions Telegram { get; set; }

Webhook

public WebhookChannelOptions Webhook { get; set; }