If you do not need monitoring alerts or certain metrics in Realtime Compute for Apache Flink, you can disable monitoring alerts for a workspace or discard specific metrics to reduce costs. You can resume metric collection when needed. This topic describes how to disable and enable monitoring alerts, and how to discard and restore metrics.
Usage notes
-
If you use a RAM user or a RAM role, you must have permissions to access Application Real-Time Monitoring Service (ARMS). For more information, see Access control overview.
-
To discard or restore a metric, the workspace must use Managed Service for Prometheus.
Disable or enable monitoring alerts
Uninstalling the Prometheus instance for a workspace stops all metric collection for that workspace and deletes the metric data for your deployments.
-
Find the Prometheus instance for your target workspace.
-
Log on to the Realtime Compute for Apache Flink console.
-
In the Actions column of the target workspace, click .
On the Monitoring Indicator Configuration page, the left-side navigation pane includes features such as Dashboard List, Service Discovery, Metric Management, Alert Rules, and Settings. On the Service Discovery page, on the Metrics tab, you can filter by job name and metric keywords to view the collected custom Prometheus metrics. The table includes columns for metric name, job name, and metric type.
-
The Prometheus instance name for the workspace is displayed at the top of the page. Click the
icon in the upper-left corner of the page.
-
-
Disable or enable monitoring alerts.
-
In the Actions column of the target instance, click Uninstall to disable monitoring alerts, or click Install to enable them.
-
In the dialog box that appears, click OK.
-
Discard specific metrics
You can discard specific metrics for a workspace.
-
Find the Prometheus instance for your target workspace.
-
Log on to the Realtime Compute for Apache Flink console.
-
In the Actions column of the target workspace, click .
This action takes you to the Application Real-Time Monitoring Service (ARMS) console. The Prometheus instance name for the workspace is displayed at the top of the page.
-
-
Discard the specific metric.
-
In the left-side navigation pane, click Service Discovery.
-
On the Metrics tab, find the metric that you want to discard.
You can search for the metric by its name, or enter flink in the search box to view all metrics for deployments in Realtime Compute for Apache Flink.
-
-
In the Actions column for the metric you want to discard, click Discard.
-
In the Manage discarded metrics dialog box, confirm the metric name and click OK.
Restore specific metrics
-
Find the Prometheus instance for your target workspace.
-
Log on to the Realtime Compute for Apache Flink console.
-
In the Actions column of the target workspace, click .
This action takes you to the Application Real-Time Monitoring Service (ARMS) console. The Prometheus instance name for the workspace is displayed at the top of the page.
-
-
Restore the specific metric.
-
In the left-side navigation pane, click Service Discovery.
-
In the upper-right corner of the page, click Manage discarded metrics.
-
In the Manage discarded metrics dialog box, delete the metric's entry to resume its collection.
-
Click OK.
-
Related topics
-
You can use metrics to analyze the health of your deployments. For more information, see Metric description.
-
You can view metrics in the Realtime Compute for Apache Flink console or report metrics to one or more external systems. For more information, see Custom metric reporting channels.
-
To configure monitoring alerts in the Realtime Compute for Apache Flink console, see Configure monitoring alerts.
> Monitoring Indicator Configuration