ahel is live on Product Hunt today. Upvote

Google Cloud Integration

SkillMonitoring & ops

Lets your agent check the health, metrics, and logs of Google Cloud Run services and Cloud Functions.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Google Cloud Integration skill

About this capability

Monitor Google Cloud Run services and Cloud Functions health, metrics, and logs. Use this skill when the user asks about service health, request counts, latencies, or cloud infrastructure.

What this skill tells your AI

The instructions your AI receives, as published by builderio/agent-native in templates/analytics/.builder/skills/gcloud/SKILL.md and read by ahel’s review.

Connection

  • Project: BIGQUERY_PROJECT_ID from Settings → Data sources
  • Service account: from GOOGLE_APPLICATION_CREDENTIALS_JSON
  • Auth: GOOGLE_APPLICATION_CREDENTIALS_JSON credential (JSON credentials string) — no ADC fallback
  • IAM roles: monitoring.viewer, run.viewer, cloudfunctions.viewer, logging.viewer
  • Caching: 5-minute in-memory cache, max 120 entries

Server Lib & API Routes

  • File: server/lib/gcloud.ts

Exported Functions

FunctionDescription
listCloudRunServices()List all Cloud Run services
listCloudFunctions()List all Cloud Functions
queryMetrics(filter, period, aligner?, reducer?, groupBy?)Query Cloud Monitoring time series
getServiceMetrics(serviceType, serviceName, metric, period, extraFilter?)Convenience metric query
listLogEntries(filter, pageSize?)Read Cloud Logging entries

API Routes

RouteDescription
GET /api/gcloud/servicesList Cloud Run services
GET /api/gcloud/metricsQuery metrics
GET /api/gcloud/logsRead log entries

Agent Action

Use gcloud for agent-facing Google Cloud work. Do not call /api/gcloud/* directly from the agent.

ModeArgsDescription
servicesList Cloud Run services and Cloud Functions
metricsservice, serviceType, metric, period, extraFilterQuery Cloud Monitoring
logsservice, serviceType, severity, limitRead Cloud Logging

Dashboard

  • /adhoc/gcloud — Google Cloud Health dashboard

Google Cloud APIs Used

  • Cloud Run Admin API v2: /v2/projects/{project}/locations/-/services
  • Cloud Functions API v2: /v2/projects/{project}/locations/-/functions
  • Cloud Monitoring API v3: /v3/projects/{project}/timeSeries
  • Cloud Logging API v2: /v2/entries:list

Key Metrics

  • Cloud Run: run.googleapis.com/request_count, request_latencies, container/instance_count, container/cpu/utilization
  • Cloud Functions: cloudfunctions.googleapis.com/function/execution_count, execution_times, active_instances

Key Patterns & Gotchas

  • Scale: 78 Cloud Run services, 237+ Cloud Functions — UI uses searchable dropdown
  • Alignment periods: 1h→60s, 6h→300s, 24h→600s, 7d→3600s
  • getServiceMetrics auto-selects aligner/reducer based on metric name (latency→percentile, request_count→ALIGN_DELTA, memory→ALIGN_MEAN)
  • queryMetrics maps point values from doubleValue, int64Value, or distribution mean
  • listLogEntries uses POST payload; returns entries reversed
  • Project ID comes from the user's configured BIGQUERY_PROJECT_ID.

Signals

GitHub stars
5k
Forks
448
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
gcloud
Source
github.com/builderio/agent-native