Google Cloud (GCP)
Connect Google Cloud to the Pagerly SRE Agent to monitor GCE, GKE, and Cloud Monitoring.
What the Agent Can Do
List GCE VM instances β status, machine type, zone
List GKE clusters β status, version, node count, location
Query Cloud Monitoring metrics using metric type filters
List recent GCE operations β find infrastructure changes
Setup Instructions
Go to Google Cloud Console > IAM > Service Accounts
Create a service account (e.g.,
pagerly-sre)Grant roles: Compute Viewer, Kubernetes Engine Viewer, Monitoring Viewer
Generate a key (JSON) or use Workload Identity
Use
gcloud auth print-access-tokento get an OAuth tokenEnter the access token and project ID in the Pagerly dashboard
Required Credentials
OAuth Access Token
GCP OAuth access token
ya29.a0...
Project ID
Your Google Cloud project ID
my-gcp-project-123
Context Prompt Tips
"Our GKE cluster is prod-cluster in us-central1. Key VMs are prefixed with api-. Cloud SQL instance is prod-db."
Docs
Last updated