Configure webhook in Signoz

Configure webhook endpoint in Signoz so that Incident Response can communicate with Signoz using the endpoint.

Before you begin

Role required: Responder, Manager, or Administrator

About this task

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.

Procedure

  1. Open the Signoz console.
  2. On the left navigation pane, click Settings.
  3. Click the Alert Channels tab and then click + New Alert Channel.
    Option to create new alert channel.
  4. On the New Notification Channels page, perform the following actions:
    Notification channel details.
    1. In the Name field, enter the name of the notification channel.
    2. In the Type field, select Webhook.
    3. In the Webhook URL field, enter the webhook generated in Incident Response. For more information on webhook generation, see Create a webhook endpoint for Signoz.
    4. To test whether alerts are successfully sent to the notification channel, click Test.
    5. Once the test is successful, click Save.
    The new alert channel is created.
    New alert channel created.
  5. On the left navigation pane, click Alerts.
  6. Under the Alert Rules tab, click + New Alert.
    Option to create new alert.
    The Create New Alert page appears.
    The Create New Alert page.
  7. Configure the alert rule as required.
    For example, you can add the following labels: metricName, metricType, node, and resource so that it appears in the alert generated in LIR.
    Note: If you add any labels other than the above mentioned ones, those labels will not appear in the alert generated in LIR.

    You can also modify the severity for the alert. The severity values can be critical, major, minor, warning, or info. To know more about severity, see Severity and state mappings for Signoz.

    Metrics to be added to the alert.
  8. Click Save.
    The new alert rule is created.
    New alert rule created.

Results

When alert conditions are met in Signoz, alerts are created in Incident Response.