-
Notifications
You must be signed in to change notification settings - Fork 0
Aura Score
Module flag: aura
Enabled by default: yes
The Aura Score module computes a composite health and efficiency score (0–100) for Cloud Run services, Cloud SQL instances, BigQuery datasets, and GKE clusters. It surfaces the most actionable issues first, sorted worst-to-best.
Score bands:
| Score | Band | Meaning |
|---|---|---|
| 80–100 | 🟢 Green | Healthy and efficient |
| 50–79 | 🟡 Yellow | Degraded or over-provisioned |
| 0–49 | 🔴 Red | Action required |
GCP_PROJECT_ID=my-project ./aura-tracker-gcp --modules auraEnable Cloud Recommender integration for efficiency signals (optional — requires an extra IAM role):
RECOMMENDER_ENABLED=true GCP_PROJECT_ID=my-project ./aura-tracker-gcp --modules auragcloud services enable monitoring.googleapis.com container.googleapis.com \
run.googleapis.com sqladmin.googleapis.com bigquery.googleapis.comFor Recommender:
gcloud services enable recommender.googleapis.com| Role | Tools that need it |
|---|---|
roles/monitoring.viewer |
Metrics for all resource types |
roles/container.viewer |
GKE control plane health |
roles/run.viewer |
Cloud Run service metadata |
roles/cloudsql.viewer |
Cloud SQL instance metadata |
roles/bigquery.metadataViewer |
BigQuery dataset/job metadata |
roles/recommender.viewer |
Cloud Recommender (only if RECOMMENDER_ENABLED=true) |
| Resource | Signals and weights |
|---|---|
| Cloud Run | Error rate 50% + CPU utilization 30% + P99 latency 20% |
| Cloud SQL | CPU utilization 40% + Memory utilization 30% + Disk utilization 30% |
| BigQuery | Job failure rate 60% + Slot utilization 20% + Storage bytes 20% |
| GKE | Node CPU 35% + Node memory 35% + Pod restart rate 20% + Control plane health 10% |
- Derived from utilization metrics
- Override: If Cloud Recommender API is enabled, GCP's own cost recommendations replace the metric-based estimate
- Idle resources score 20; over-provisioned resources score 45; well-sized resources score higher
Scores are cached in-process for 5 minutes per resource. Repeated calls within the cache window are free (no Cloud Monitoring reads).
Computes the Aura Score for a single resource.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
resource_kind |
yes |
cloud_run, cloud_sql, bigquery, or gke
|
region |
yes | Resource region |
resource_name |
yes | Resource name |
Returns: Score (0–100), band (green/yellow/red), health score, efficiency score, list of actionable reasons (e.g. "CPU at 2% — consider min-instances=0"), Recommender recommendations (if enabled).
Scores all Cloud Run services, Cloud SQL instances, BigQuery datasets, and GKE clusters in the project. Returns results sorted worst-first.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
resource_kind |
no | Filter to a single resource type |
Returns: All scored resources with score, band, and top reason per resource. Total count per band.
Project health dashboard
"Give me an Aura Score summary for project my-project — sorted by worst score first."
Red resource investigation
"Which resources in project my-project have a red Aura Score? What's the top issue for each one?"
Cost optimization
"Which Cloud Run services in project my-project have an efficiency score below 50 — are any over-provisioned or idle?"
GKE health
"What is the Aura Score for the
prod-clusterGKE cluster inus-central1, and what's causing any degradation?"
| Module flag | Why you'd combine it |
|---|---|
cloudrun |
Drill into the service details behind a low score |
monitoring |
Fetch the raw metrics that drive the Aura Score |
gke |
Get cluster and node pool details for GKE scores |
coverage |
Combine health score with observability completeness |