MGCWardenAuditHealthRuleEntity
An audit health rule: a metric (writer lag, queue depth or captures dropped in a window), the threshold above which it breaches, the window, severity, re-alert interval and whether it is enabled. Rules are shared by all companies and can be imported, exported and updated. The rule's last evaluation is not included, so an imported rule is evaluated afresh.
- Public collection name:
WardenAuditHealthRules
- Primary key:
RuleId
Fields
| Name | Type | Mandatory | Description |
|---|
RuleId | str | Yes | |
Description | str | No | |
Metric | MGCWardenAuditHealthMetric | No | |
ThresholdValue | int64 | No | The rule breaches when the observed value is strictly greater than this threshold, so a threshold of zero means "any occurrence breaches". |
WindowMinutes | int | No | Rolling window the metric is measured over. Ignored by point-in-time metrics (writer lag, queue depth). |
Severity | MGCWardenExceptionSeverity | No | Severity carried onto the execution exception raised when this rule breaches. |
ReAlertMinutes | int | No | Minimum gap between two alerts for the same rule. A rule that stays breached is not re-alerted inside this interval; the rule state still updates every run. |
Enabled | NoYes | No | |
Mappings
| Entity field | Data source | Field |
|---|
RuleId | MGCWardenAuditHealthRule | RuleId |
Description | MGCWardenAuditHealthRule | Description |
Metric | MGCWardenAuditHealthRule | Metric |
ThresholdValue | MGCWardenAuditHealthRule | ThresholdValue |
WindowMinutes | MGCWardenAuditHealthRule | WindowMinutes |
Severity | MGCWardenAuditHealthRule | Severity |
ReAlertMinutes | MGCWardenAuditHealthRule | ReAlertMinutes |
Enabled | MGCWardenAuditHealthRule | Enabled |