Fully managed Flink allows you to configure alert rules for jobs that are running. If an alert rule is triggered when a job is running, the system sends you an alert to help you detect and handle exceptions at the earliest opportunity. This topic describes how to configure Prometheus monitoring alerts in the Application Real-Time Monitoring Service (ARMS) console.

Prerequisites

ARMS is activated. For more information, see Activate and upgrade ARMS.

Background information

If you configure monitoring alerts in the ARMS console, you must specify information such as the cluster, type, dashboard, and Prometheus Query Language (PromQL). The required operations are complex, learning costs are high, and the alert configuration efficiency is low. However, if you configure monitoring alerts in the console of fully managed Flink, the required operations are simple and the alert configuration efficiency is high. For more information, see Configure alert rules in the console of fully managed Flink.

Procedure

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, find the workspace that you want to manage and click Console in the Actions column.
  3. In the left-side navigation pane, click Deployments.
  4. Click the name of the job for which you want to configure monitoring alerts.
    Note Select a job whose desired state and current state are both RUNNING.
  5. In the upper-right corner of the Overview tab, click Metrics. Metrics
  6. In the left-side navigation pane, click Alerting. Alerting
  7. In the Prometheus monitoring service console, create an alert rule.
    For more information about how to create an alert rule, see Create an alert rule.