set_alert_policy
Customize anomaly detection alerts by muting services, adjusting thresholds, or setting minimum dollar changes. Supports glob patterns for provider and service selection.
Instructions
Set a custom alert policy for anomaly detection on a specific provider or service.
Use this to:
Mute noisy services you don't care about (e.g. DataTransfer, Tax)
Raise the threshold for services that are naturally volatile
Set a minimum $ delta to ignore tiny fluctuations
Supports glob patterns: "DataTransfer*", "Transfer", "EC2*"
Args: provider: "aws", "azure", "gcp", or "" for all providers service_pattern: Exact service name or glob pattern (e.g. "DataTransfer", "*") muted: If True, all anomalies matching this rule are silenced min_pct_change: Only alert if change exceeds this % (overrides default 20%) min_usd_change: Only alert if absolute change exceeds this $ amount note: Why this policy exists (shown in list_alert_policies)
Examples: - "Mute DataTransfer anomalies, they're always noisy" - "Only alert on EC2 if it changes by more than 40%" - "Ignore AWS Tax service anomalies" - "Only alert on changes over $500, ignore tiny fluctuations" - "Set a 50% threshold for Support charges"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| muted | No | ||
| provider | No | * | |
| min_pct_change | No | ||
| min_usd_change | No | ||
| service_pattern | No | * |