create_threshold_alert
Set up automated monitoring for datapoint values with configurable thresholds to send email or Telegram notifications when levels are exceeded.
Instructions
Create a new threshold-based alert.
Args: project_id: The project's numeric ID. name: Alert name. datapoint_id: The datapoint to monitor. info_threshold: Info-level threshold value. warn_threshold: Warning-level threshold value. crit_threshold: Critical-level threshold value. email: Email address for notifications. telegram_chatid: Telegram chat ID for notifications. period: Evaluation period in seconds.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| name | Yes | ||
| datapoint_id | Yes | ||
| info_threshold | No | ||
| warn_threshold | No | ||
| crit_threshold | No | ||
| No | |||
| telegram_chatid | No | ||
| period | No |