Step-by-step guide:
Step 1: Write an SQL query to fetch a value or a list, you can setup alerts on the result of your SQL query
Sample Query - to fetch a list of areas where Demand is high and the supply is low
Step 2: Configure your alert condition on top of your query result
- Alert Frequency: 30 mins
- Alert Type: new row added to the list
- Unique value column: current_area
Step 3: Configure Incidents created from this alert
- Incident Tile: #{{current_area}} area is facing high demand and low supply.
- Incident Type/Priority: Medium
- Team is responsible for this alert (optional) - Fleet Management Team
- Person assigned to the incidents (optional) - Ops Lead
- Enable escalating the incidents if not resolved - Enable
- Duration: 2 hours
- Member: Fleet Manager @ HQ
Step 4: Setup Actions and Notifications for the incident channel: Slack
- destination: email
- id: ops_lead@area.com
- Escalation:
- destination: slack
- channel: fleet_management_channel