The alarm policies for numerical metric monitoring in Stream Compute Service are implemented through **Tencent Cloud Observability Platform (TCOP)**. This document describes some common scenarios. For more details, see Overview of TCOP. Note
TCOP no longer allows users to configure event alarms. This feature has been transferred to EventBridge. Please configure alarms of various events as instructed in Configuring alarms of job events. Viewing job alarm policies
In the TCOP console, select Alarm Management > Policy Management to view alarm policies configured for all of your products. Alternatively, enter Stream Compute Service in the search box in the top right corner of the page to view all alarms configured for Stream Compute Service. Adding a job alarm policy
1. In the TCOP console, select Alarm Management > Policy Management, click Create Policy, and enter a policy name and remarks (optional). 2. In the Policy Type drop-down list, select Stream Compute Service, and select Alarm Object as prompted. Here, you can configure the policy for a specific job or for all jobs, and press Shift to select multiple items.
3. Then, select Trigger Condition. In Select Templete, select an existing template, or add one. If you don't want to use a template, select Configure manually, where you can set thresholds and alarms for monitoring metrics mentioned above. 4. Select Create Template in Notification Template, set the recipient object, notification cycle, and receiving channel.
5. Click Complete to apply this new alarm policy.
Note
Since "Job restarts" and "Total checkpoint failures" are cumulative, use monthly alarm policies for these two metrics.
Configuring job alarms by tag
Select a tag key, enter a tag value, and click OK.
2. Select the tag just created when creating a job or on the job overview page.
Editing a tag on the job overview page:
After the tag is complete, click Conform.
3. Log in to the TCOP console, select Alarm Management > Policy Management > Create Policy, and then select the tag. 4. Configure alarm notifications.
Was this page helpful?