Prometheus Service (Prometheus) automatically creates default alert rules for monitored applications. For more information about default alert rules, see Description of alert rules.
Prometheus provides the defaultAlert parameter that allows you to specify whether Prometheus automatically creates default alert rules. If this parameter is set to true, Prometheus automatically creates default alert rules. If this parameter is set to false, Prometheus does not automatically create default alert rules.
To prevent Prometheus from automatically creating default alert rules for a monitored application, you can set the defaultAlert parameter of the Prometheus agent to false. After you disable automatic creation of default alert rules, we recommend that you delete the default alert rules that have been created by Prometheus for your application.
To configure the Prometheus agent for a Container Service for Kubernetes (ACK) cluster, perform the following steps:
- Set the defaultAlert parameter of the Prometheus agent to false.
- Optional: Delete the default alert rules that have been created by Prometheus.
- Log on to the Application Real-Time Monitoring Service (ARMS) console.
- In the left-side navigation pane, choose .
- On the Prometheus Monitoring page, click the name of the ACK cluster that you want to manage.
- In the left-side navigation pane, click Alerts Rules. Find the default alert rule that you want to delete and click Delete in the Actions column.