FruxonDocs

GCP Monitoring

Manage Cloud Monitoring alerting — alert policies, notification channels, and snoozes

The GCP Monitoring integration lets your agents manage Cloud Monitoring alerting — list and edit alerting policies, manage notification channels, and create snoozes to silence alerts for a time window — against a specific Google Cloud project. Pair it with GCP Logging for read access to logs and logs-based metrics.

Prerequisites

  • A Google Cloud project with Cloud Monitoring enabled.
  • A Project ID from the Google Cloud Console.
  • Credentials, by one of three methods:
    • Google OAuth — connect a Google account and grant the Monitoring scope (full monitoring for create/update/delete, or monitoring.read for read-only).
    • Workload Identity Federation — paste an external_account credential-configuration JSON (no key stored). Generate it with gcloud iam workload-identity-pools create-cred-config.
    • Service account key — paste a service-account JSON key created under IAM & Admin → Service Accounts → Keys, granted the Monitoring Editor role (or Monitoring Viewer for read-only).

Unlike GCP Logging, GCP Monitoring does not offer the "Grant Fruxon Service Account Access" shared-credential path — use OAuth, Workload Identity Federation, or a service-account key.

Setup

  1. Open Integrations from the sidebar
  2. Select GCP Monitoring from the catalog
  3. Click Add Integration Config
  4. Give the config a display name (e.g., "GCP Monitoring — Prod project").
  5. Enter the Project ID.
  6. Pick the auth method: connect a Google account, paste a Workload Identity credential configuration, or paste a service-account key.
  7. Save the config

Using in Your Agent

  1. Open your agent in Agent Studio and select an Agent Step
  2. Under Attached Integration Configurations, click Attach configuration and choose your config
  3. Attach GCP Monitoring tools from the tools panel
  4. Tools are referenced as gcp_monitoring.list_alert_policies, gcp_monitoring.create_snooze, etc.

The create/update tools take a full Cloud Monitoring v3 JSON body (e.g. an AlertPolicy or NotificationChannel), so the agent should be prompted with the resource shape or given an example.

Available Tools

Alert policies

ToolDescriptionAction Type
list_alert_policiesList alerting policies in the project (supports a Monitoring filter expression)ReadOnly
get_alert_policyGet a single alerting policy by full resource nameReadOnly
create_alert_policyCreate a new alerting policy from an AlertPolicy JSON bodyReversible
update_alert_policyUpdate an existing alerting policy (update mask + JSON body)Reversible
delete_alert_policyDelete an alerting policy by full resource nameIrreversible

Notification channels

ToolDescriptionAction Type
list_notification_channelsList notification channels (email, SMS, Slack, PagerDuty, webhooks, …)ReadOnly
get_notification_channelGet a single notification channel by full resource nameReadOnly
list_notification_channel_descriptorsList available channel types and their required fieldsReadOnly
create_notification_channelCreate a notification channel from a JSON bodyReversible
update_notification_channelUpdate an existing notification channel (update mask + JSON body)Reversible
delete_notification_channelDelete a notification channel (optional force)Irreversible

Snoozes

ToolDescriptionAction Type
list_snoozesList snoozes in the projectReadOnly
get_snoozeGet a single snooze by full resource nameReadOnly
create_snoozeCreate a snooze to silence alerts over a time intervalReversible
update_snoozeUpdate a snooze — e.g. extend it or end it earlyReversible

On this page