[SDK reference](../../index.md) / [Models](../index.md) / [Observability](index.md)

# AlertRuleMergePatchUpdate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Observability`  

A tenant metric alert rule evaluated in-cell by vmalert / ObservabilityReconciler (ADR-0802, ADR-0803, W152).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `UntypedNode?` | `annotations` | At most 256 KiB in all; never policy input. |
| `Comparison` | `Models.Observability.AlertComparison?` | `comparison` | Comparison operator against the threshold: the rule's own (GREATER_THAN when a rule omits it), and on an incident the one the rule had when it fired. One text on every use, so the generated SDK names the type the same way each run. |
| `CooldownSeconds` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_cooldownSeconds?` | `cooldownSeconds` | Minimum seconds between consecutive firing notifications for this rule (0..86400, default 0; W152). |
| `DisplayName` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Enabled` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_enabled?` | `enabled` | Whether evaluation is enabled (default true). |
| `ForDurationSeconds` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_forDurationSeconds?` | `forDurationSeconds` | Sustained evaluation duration in seconds before transitioning from PENDING to FIRING (default 60). |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `Metric` | `string?` | `metric` | Metric name, PromQL / MetricsQL selector, web-app preset (webapp:requests\|error_rate\|latency_p95\|cpu\|memory), or spend source (spend:monthly_eur\|spend:monthly_micros) scoped to the tenant project. |
| `NotificationChannels` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_notificationChannels?` | `notificationChannels` | Notification channel targets (email, webhookEndpoints/{id}, ntfy+, slack+, teams+, discord+, https://, sms:, whatsapp:; emails never carry approve links per ADR-0906). |
| `NotifyOnResolve` | `Models.Observability.AlertRuleMergePatchUpdate.AlertRuleMergePatchUpdate_notifyOnResolve?` | `notifyOnResolve` | Whether to notify configured channels when a firing alert resolves back to OK (default true; W152). |
| `Severity` | `Models.Observability.AlertSeverity?` | `severity` | Alert severity (INFO, WARNING, CRITICAL; default WARNING). |
| `Threshold` | `double?` | `threshold` | Numeric threshold triggering the alert. |
