Loading...
Loading...
Use when the user needs to inspect Google Cloud (GCP) logs, metrics, and monitoring signals via gcloud for incident triage, debugging, or operational analysis. Supports Cloud Logging queries, Cloud Monitoring time-series reads, and environment checks for a target project.
npx skill4agent add bcrema/runwarapp gcp-logs-monitoringproject_idtime_window30m2hstart/endservice/resource contextcloud_run_revisionk8s_containergce_instancesignals of interestoutput_formattablejsonbash .agents/skills/gcp-logs-monitoring/scripts/check_prereqs.sh --project <project_id>bash .agents/skills/gcp-logs-monitoring/scripts/read_logs.sh --project <project_id> --filter '<LOG_FILTER>' --freshness 1h --limit 100 --format jsonbash .agents/skills/gcp-logs-monitoring/scripts/read_metrics.sh --project <project_id> --filter '<METRIC_FILTER>' --start <UTC_ISO8601> --end <UTC_ISO8601> --format jsonresource.type="cloud_run_revision" severity>=ERRORresource.type="k8s_container" severity>=ERRORresource.type="http_load_balancer" jsonPayload.statusDetails=~"5.."textPayload:"timeout" OR jsonPayload.message:"timeout"metric.type="run.googleapis.com/request_count" AND resource.type="cloud_run_revision"metric.type="run.googleapis.com/request_latencies" AND resource.type="cloud_run_revision"metric.type="compute.googleapis.com/instance/cpu/utilization" AND resource.type="gce_instance"--project15m2h--format json