What problem does it solve?
GreptimeDB users often need to convert monitoring alerts into automated actions. This Skill provides a structured guide to create GreptimeDB triggers that map Prometheus alert rules to Greptime's trigger system, enabling external webhooks and automated responses without manual SQL scripting.
Core Features & Use Cases
- Trigger creation guide: Learn how to define triggers using Greptime's Trigger syntax (TQL/SQL) to process time-series alerts.
- Webhook integration: Configure webhook destinations to notify Alertmanagers-style endpoints when thresholds are met.
- Prometheus migration helper: Use the trigger workflow to migrate alerting rules from Prometheus to GreptimeDB with minimal changes.
- Use Case: Imagine you need to alert on CPU saturation and automatically call a incident management webhook when a threshold is exceeded.
Quick Start
Define a trigger using the provided examples and the GreptimeDB trigger syntax. Then deploy and test against a sample metric and a webhook endpoint.