You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add cluster_name label requirement to GCP Cloud Monitoring docs
Alerts must include a cluster or cluster_name label for Robusta to properly
route them. Added instructions for setting this via custom labels in the
alerting policy's Documentation section.
Copy file name to clipboardExpand all lines: docs/configuration/alertmanager-integration/gcp-monitoring.rst
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ GCP Cloud Monitoring Integration with Robusta
4
4
.. note::
5
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
6
7
+
.. note::
8
+
Every alert must carry a ``cluster`` or ``cluster_name`` label. Set it to the Robusta ``cluster_name`` configured for the target cluster, or use ``external`` when the alerts do not belong to a specific runner.
9
+
7
10
This guide explains how to forward **GCP Cloud Monitoring alerts** to Robusta via a managed notification channel webhook.
8
11
9
12
Requirements
@@ -45,7 +48,12 @@ Step 3: Use the Webhook in Alerting Policies
45
48
1. Navigate to **Monitoring -> Alerting -> Policies**.
46
49
2. Create a new alerting policy or edit an existing one.
47
50
3. In the **Notifications** section, select the **RobustaWebhook** notification channel.
48
-
4. Save the alerting policy.
51
+
4. **Add a cluster label** (required): In the policy's **Documentation** section, add a custom label:
52
+
53
+
- **Key**: ``cluster_name``
54
+
- **Value**: Your Robusta cluster name (e.g., ``my-gcp-cluster``) or ``external`` for non-Kubernetes alerts
0 commit comments