Create an alert

The following guide explains how to build alerts within the groundcover platform using our fully integrated Grafana interface. To learn how you can create alerts using Grafana Terraform, follow this guide.

1️⃣ Configuring a Contact Point:

  1. In the Contact Points tab, click the + New contact point button and select the relevant option (Slack, email etc.).

  2. Fill in the required information to configure your new contact point. For example, to set a Slack alert you will need to include the webhook URL that you generated in Slack, a channel to send the alert to, and any other optional configuration settings.

  1. Go to Notification Policies tab and click on +New Specific Policy

  1. Choose the contact point you have configured from the contact point drop down

  2. Click the Save button to save your alert configuration.

2️⃣ Configuring Alert from existing dashboard:

  1. Log in to your groundcover account and navigate to the dashboard that you want to create an alert from.

  2. Locate the Grafana panel that you want to create an alert from and click on the panel's header and select edit .

  3. Click on the alert tab as seen in the image below. Select the Manage alerts option from the dropdown menu.

  4. Click on the New Alert Rule button.

Note: only time series panels support alert creation.

  1. An alert is derived from three parts that will be configured in the screen that you are navigated to:

    • Expression - the query that defines the alert input itself,

    • Reduction - the value that should be leveraged from the aforementioned expression

    • Threshold - value to measure against said reduciton output to see if an alert should be triggered

  2. Verify expression value and enter reduction and threshold values in line with your alerting expectation

  1. Select folder - if needed you can navigate to dashboard tab in left nav and create new folder

  2. Select evaluation ground or type text in order to create a new group as shown below

  1. Click "Save and Exit" on top right hand side of screen to create alert

  2. Ensure your notification is configured to have alerts sent to end users. See "Configuring Slack Contact Point" section below if needed.

Note: Make sure to test the alert to ensure that it is working as expected. You can do this by triggering the conditions that you defined and verifying that the alert is sent to the specified notification channels.

Last updated