mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Alerting docs: update that test functionality only for G Alertmanager * ran prettier * fixed alphabetical order * indentation * format * all pretty, no pity --------- Co-authored-by: tonypowa <tonypowa@gmail.com>
60 lines
2.0 KiB
Markdown
60 lines
2.0 KiB
Markdown
---
|
|
canonical: https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/integrations/configure-google-chat/
|
|
description: Configure the Google Chat integration to receive notifications when your alerts are firing
|
|
keywords:
|
|
- grafana
|
|
- alerting
|
|
- Google Chat
|
|
- integration
|
|
labels:
|
|
products:
|
|
- cloud
|
|
- enterprise
|
|
- oss
|
|
menuTitle: Google Chat
|
|
title: Configure Google Chat for Alerting
|
|
weight: 0
|
|
---
|
|
|
|
# Configure Google Chat for Alerting
|
|
|
|
Use the Grafana Alerting - Google Chat integration to receive alert notifications in your Google Chat space when your Grafana alert rules are triggered and resolved.
|
|
|
|
## Before you begin
|
|
|
|
Create a Webhook to enable Grafana to send alert notifications to a Google Chat space.
|
|
To create a Webhook in Google Chat space, complete the following steps.
|
|
|
|
1. Follow the steps in [Google's Chat app guide](https://developers.google.com/workspace/chat/quickstart/webhooks#create_a_webhook).
|
|
1. Copy the Webhook URL.
|
|
|
|
## Procedure
|
|
|
|
To create your Google Chat integration in Grafana Alerting, complete the following steps.
|
|
|
|
1. Navigate to **Alerts & IRM** -> **Alerting** -> **Contact points**.
|
|
1. Click **+ Add contact point**.
|
|
1. Enter a contact point name.
|
|
1. From the Integration list, select **Google Chat**.
|
|
1. In the **URL** field, paste in your Webhook URL.
|
|
1. Click **Test** to check that your integration works.
|
|
|
|
** For Grafana Alertmanager only.**
|
|
|
|
A test alert notification should be sent to the Google Chat space that you associated with the Webhook.
|
|
|
|
1. Click **Save contact point**.
|
|
|
|
## Next steps
|
|
|
|
The Google Chat contact point is ready to receive alert notifications.
|
|
|
|
To add this contact point to your alert, complete the following steps.
|
|
|
|
1. In Grafana, navigate to **Alerting** > **Alert rules**.
|
|
1. Edit or create a new alert rule.
|
|
1. Scroll down to the **Configure labels and notifications** section.
|
|
1. Under **Notifications** click **Select contact point**.
|
|
1. From the drop-down menu, select the previously created contact point.
|
|
1. Click **Save rule and exit**.
|