17 lines
473 B
C#
17 lines
473 B
C#
namespace StellaOps.Notifier.Worker.Options;
|
|
|
|
public sealed class EgressSloOptions
|
|
{
|
|
/// <summary>
|
|
/// Webhook endpoint to receive SLO delivery signals. When null/empty, publishing is disabled.
|
|
/// </summary>
|
|
public string? Webhook { get; set; }
|
|
|
|
/// <summary>
|
|
/// Request timeout in seconds for the webhook call.
|
|
/// </summary>
|
|
public int TimeoutSeconds { get; set; } = 5;
|
|
|
|
public bool Enabled => !string.IsNullOrWhiteSpace(Webhook);
|
|
}
|