Google Cloud (GCP)
Connect Google Cloud to the Pagerly SRE Agent to monitor GCE, GKE, and Cloud Monitoring.
Last updated
Connect Google Cloud to the Pagerly SRE Agent to monitor GCE, GKE, and Cloud Monitoring.
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
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-token to get an OAuth token
Enter the access token and project ID in the Pagerly dashboard
OAuth Access Token
GCP OAuth access token
ya29.a0...
Project ID
Your Google Cloud project ID
my-gcp-project-123
OAuth tokens expire. For long-term access, consider setting up a service account with a refresh token or using Workload Identity Federation.
"Our GKE cluster is prod-cluster in us-central1. Key VMs are prefixed with api-. Cloud SQL instance is prod-db."
Last updated