Grafana integration

Updated at:

This topic describes how to integrate a Grafana monitoring source.

Introduction

Grafana is a composable observability platform that integrates metrics, traces, and logs. Event Hub supports simple and fast integration with Grafana for unified management of alerts and events. Follow the steps in this topic to integrate your alert records.

Integrate Grafana monitoring

Step 1: Find the Grafana monitoring source

In Event Hub, go to Integration Center > Integration Configuration. Find the Grafana monitoring source and open its integration page. Follow the instructions to complete the integration.

Step 2: Create a notification channel

1. In Grafana, go to Alerting > Notification channels and click Add channel.

2. Configure the channel. In the Optional Webhook settings section, set the HTTP Method to POST. In the Notification settings section, select the Default checkbox. Set the Type to webhook, and enter the following URL:

https://public-alert.aliyuncs.com/event/grafana/{IntegrationKey}
Note

The integration key specified in the URL is the Grafana integration key.

Step 3: Confirm the integration

After you complete the configuration, click the Confirm Integration button under the integration key to complete the setup.

Step 4: Verify the integration

In Grafana, configure alerting, subscribe to rules, and trigger an alert. The integration is successful if the status of the Grafana monitoring source on the Integration Configuration page changes to Received.