Skip to content

Commit d20f448

Browse files
committed
Add GCP Cloud Monitoring webhook integration documentation
Add documentation for setting up a webhook notification channel in GCP Cloud Monitoring to forward alerts to Robusta. This covers creating a managed webhook channel with basic authentication using the Robusta account ID and API key.
1 parent 113312f commit d20f448

3 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
GCP Cloud Monitoring Integration with Robusta
2+
=============================================
3+
4+
.. note::
5+
This feature is available with the Robusta SaaS platform and self-hosted commercial plans. It is not available in the open-source version.
6+
7+
This guide explains how to forward **GCP Cloud Monitoring alerts** to Robusta via a managed notification channel webhook.
8+
9+
Requirements
10+
------------
11+
12+
- Robusta is deployed and running.
13+
- You have access to the Robusta UI (to create an API key and find your ``account_id``).
14+
- You have access to GCP Cloud Monitoring with permissions to create notification channels.
15+
16+
Step 1: Get Robusta Account ID and API Key
17+
------------------------------------------
18+
19+
1. In the Robusta UI, go to **Settings -> API Keys**.
20+
2. Click **New API Key**, select **Alerts: Write** permissions, and **Save**.
21+
3. Copy the generated API key — you will use it as the password for basic authentication.
22+
4. Find your ``account_id``:
23+
24+
- In Robusta, the ``account_id`` appears in your **generated_values.yaml** file (from installation), or
25+
- In the Robusta UI under **Settings -> Workspace**.
26+
27+
Step 2: Create a Webhook Notification Channel in GCP
28+
----------------------------------------------------
29+
30+
1. In the GCP Console, navigate to **Monitoring -> Alerting -> Edit Notification Channels**.
31+
2. Under **Webhooks**, click **Add New**.
32+
3. Configure the webhook with the following settings:
33+
34+
- **Display Name**: ``RobustaWebhook``
35+
- **Endpoint URL**: ``https://api.robusta.dev/integrations/generic/gcp``
36+
- **Authentication**: Select **Basic Authentication**
37+
- **Username**: Your Robusta ``account_id`` from Step 1
38+
- **Password**: Your Robusta API key from Step 1
39+
40+
4. Click **Save** to create the notification channel.
41+
42+
Step 3: Use the Webhook in Alerting Policies
43+
--------------------------------------------
44+
45+
1. Navigate to **Monitoring -> Alerting -> Policies**.
46+
2. Create a new alerting policy or edit an existing one.
47+
3. In the **Notifications** section, select the **RobustaWebhook** notification channel.
48+
4. Save the alerting policy.
49+
50+
Validation
51+
----------
52+
53+
- Trigger a test alert or wait for an existing alerting policy to fire.
54+
- In Robusta's UI, verify the alert appears with the expected details.

docs/configuration/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ Other
7777
:link: alertmanager-integration/dynatrace
7878
:link-type: doc
7979

80+
.. grid-item-card:: :octicon:`pulse;1em;` GCP Cloud Monitoring
81+
:class-card: sd-bg-light sd-bg-text-light
82+
:link: alertmanager-integration/gcp-monitoring
83+
:link-type: doc
84+
8085
.. grid-item-card:: :octicon:`pulse;1em;` Nagios
8186
:class-card: sd-bg-light sd-bg-text-light
8287
:link: alertmanager-integration/nagios

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
Dynatrace <configuration/alertmanager-integration/dynatrace>
4141
Embedded Prometheus Stack <configuration/alertmanager-integration/embedded-prometheus>
4242
Google Managed Prometheus <configuration/alertmanager-integration/google-managed-prometheus>
43+
GCP Cloud Monitoring <configuration/alertmanager-integration/gcp-monitoring>
4344
Grafana - Self-Hosted <configuration/alertmanager-integration/grafana-self-hosted>
4445
Grafana Cloud <configuration/alertmanager-integration/grafana-cloud>
4546
Nagios <configuration/alertmanager-integration/nagios>

0 commit comments

Comments
 (0)