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 expand the Environments column.
  2. Click and locate an environment having a Database Catalog you activated for CDW.
  3. Click the environment options and select Edit.
  4. In the Environment Details page, click the ALERT SETTINGS tab and then click Add New.

    Add new alert for compaction observability
  5. Enter the following information for the new alert:
    • ID and 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.