Adding a compaction alert

You can define compaction alert rules for your Cloudera Data Warehouse (CDW) deployment based on Prometheus expressions. The alerts are automatically triggered when specific events occur in your deployment.

You use PromQL expressions to express the conditions that trigger the alert, as shown in the following procedure.
  1. In the Data Warehouse service, click Overview and go to the Environments tab.
  2. Locate an environment that you activated for CDW, which has the default Database Catalog.
  3. Click > Edit.
  4. In the Environment Details page, click the ALERT SETTINGS tab and then click Add New.
  5. Enter the following information for the new alert:
    • Alert ID
    • Name of the alert
    • An error or warning message to display when the alert is triggered
    • The Prometheus expression to specify conditions that trigger the alert
    • Duration to specify how long the conditions last before the alert is triggered
    • Severity of the alert — Error or Warning
  6. Click Create.