All Products
Search
Document Center

EventBridge:Integrate Grafana

Last Updated:Sep 28, 2023

This topic describes how to use an HTTP event source to integrate Grafana with EventBridge.

Background information

Grafana is a platform that provides various combined observing capabilities and integrates features such as metrics, traces, and logs. EventBridge supports simple and fast integration with Grafana to manage alerts and events in a centralized manner.

Before you begin

Step 1: Create an event source for Grafana in EventBridge

Create an event source of the HTTP/HTTPS Events type in the EventBridge console. The following table describes the parameters. For more information, see Create a custom event source of the HTTP/HTTPS Events type.

  • Request Type: Select HTTP&HTTPS.

  • Request Method: Select a POST.

  • Security Configuration: Select Optional.

After the event source is created, you can find the custom event source in the event source list, and then click Details to view the configuration information. Internet request URL can be used as the webhook URL of the event source. pic-1

Step 2: Configure a notification channel in Grafana

  1. Log on to the Grafana console.

  2. In the left-side navigation pane, choose Alerting > Notification channels. On the page that appears, click Add channel.

    pic-2
  3. On the Notification channels tab, configure the following parameters and click Test.

    • Type: Select webhook.

    • Url: Enter the Internet request URL that is generated in Step 1: Create an event source for Grafana in EventBridge.

    pic-3

Step 3: Verify the result

  1. Log on to the EventBridge console.
  2. In the top navigation bar, select the region.
  3. In the left-side navigation pane, click Event Buses.
  4. In the left-side navigation pane, click Event Tracking to view and verify the obtained event information.