> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Alibaba Cloud Prometheus integration

> Sync Alibaba Cloud Prometheus monitoring alert events to Flashduty On-call via webhook for automated alert noise reduction

<div className="hide">
  ## In Flashduty On-call

  ***

  You can obtain an integration push URL through either of these two methods:

  ### Using private integration

  Choose this method when you don't need to route alert events to different channels — it's simpler.

  <AccordionGroup>
    <Accordion title="Expand">
      1. Go to the Flashduty console, select **Channel**, and enter a channel's details page
      2. Select the **Integrations** tab, click **Add Integration** to enter the integration page
      3. Choose **Alibaba Cloud Monitor Prometheus** integration and click **Save** to generate a card
      4. Click the generated card to view the **Push URL**, copy it for later use
    </Accordion>
  </AccordionGroup>

  ### Using shared integration

  Choose this method when you need to route alerts to different channels based on the alert event payload.

  <AccordionGroup>
    <Accordion title="Expand">
      1. Go to the Flashduty console, select **Integration Center => Alert Events** to enter the integration selection page
      2. Select **Alibaba Cloud Monitor Prometheus** integration:
         * **Integration Name**: Define a name for this integration
      3. Configure the default route and select the corresponding channel (after creation, go to `Route` to configure more routing rules)
      4. Click **Save** and copy the newly generated **Push URL** for later use
    </Accordion>
  </AccordionGroup>
</div>

## In Alibaba Cloud

***

<Steps>
  <Step title="Create a custom webhook">
    1. Log in to the Alibaba Cloud console, search for **Cloud Monitor**, and enter the corresponding console
    2. In the left menu, select **Prometheus Monitoring → Notification Objects**, and create or edit a **Custom Webhook**
    3. Enter `Flashduty` for both the name and identifier, and enter the integration push URL in the `URL` field
    4. In `Headers`, set **Header Key** to `Content-Type` and **Header Value** to `application/json`
    5. Select **POST** for `Method` and **JSON** for `Data Format`
    6. Click **OK** to complete
  </Step>

  <Step title="Configure alert rules">
    1. In the left menu, select **Prometheus Monitoring → Alert Rules**, and create or edit an alert rule
    2. In the **Notification Mode** section, select **Simple Mode**
    3. For **Notification Object**, select the custom webhook created in the previous step
    4. Click **OK** to complete
  </Step>

  <Step title="Verify integration">
    Go back to the Flashduty console integration list page. If the latest event time is displayed, the configuration is successful and events are being received.
  </Step>
</Steps>

## Severity mapping

***

<div className="md-block">
  Alibaba Cloud Prometheus to Flashduty severity mapping:

  | Alibaba Cloud Monitor | Flashduty | Status   |
  | :-------------------- | :-------- | :------- |
  | Critical              | Critical  | Critical |
  | Error                 | Critical  | Critical |
  | Warning               | Warning   | Warning  |
  | Normal                | Info      | Info     |
</div>
