Subscribe via Flashduty
TiDB Cloud provides you with an easy way to subscribe to alert notifications via Flashduty, Slack, email, Zoom, and PagerDuty. This document describes how to subscribe to alert notifications via Flashduty.
Prerequisites
The subscribing via Flashduty feature is only available for organizations that subscribe to the Enterprise or Premium support plan.
To subscribe to alert notifications of TiDB Cloud, you must have the
Organization Owneraccess to your organization orProject Owneraccess to the target project in TiDB Cloud.
Subscribe to alert notifications
To receive alert notifications of clusters in your project, take the following steps:
Step 1. Generate a Flashduty webhook URL
- Generate a webhook URL by following the instructions in Flashduty Prometheus Integration.
- Save the generated webhook URL to use in the next step.
Step 2. Subscribe from TiDB Cloud
In the TiDB Cloud console, switch to your target project using the combo box in the upper-left corner.
In the left navigation pane, click Project Settings > Alert Subscription.
On the Alert Subscription page, click Add Subscriber in the upper-right corner.
Select Flashduty from the Subscriber Type drop-down list.
Enter a name in the Name field and your Flashduty webhook URL in the Webhook URL field.
Click Test Connection.
- If the test succeeds, the Save button is displayed.
- If the test fails, an error message is displayed. Follow the message to troubleshoot the issue and retry the connection.
Click Save to complete the subscription.
Alternatively, you can also click Subscribe in the upper-right corner of the Alert page of the cluster. You will be directed to the Alert Subscriber page.
If an alert condition remains unchanged, the alert sends notifications every three hours.
Unsubscribe from alert notifications
If you no longer want to receive alert notifications of clusters in your project, take the following steps:
- In the TiDB Cloud console, switch to your target project using the combo box in the upper-left corner.
- In the left navigation pane, click Project Settings > Alert Subscription.
- On the Alert Subscription page, locate the row of your target subscriber to be deleted, and then click ... > Unsubscribe.
- Click Unsubscribe to confirm the unsubscription.