Skip to content

Add gcp-compute-instancegroup-health CodeBundle - #717

Open
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/gcp-compute-instancegroup-health
Open

Add gcp-compute-instancegroup-health CodeBundle#717
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/gcp-compute-instancegroup-health

Conversation

@rw-codebundle-agent

Copy link
Copy Markdown
Contributor

Closes #153

Adds the gcp-compute-instancegroup-health CodeBundle to rw-cli-codecollection.

Summary

Monitors the health of GCP Compute Engine instance groups (managed and
unmanaged) at the group scope — one SLX per instance group rather than one
per member VM, as required by the parent issue.

Tasks

  • Discover GCP Instance Groups and Configurations (discover_instance_groups.sh)
  • Check Instance Group Member Health (check_group_member_health.sh)
  • Check Instance Group Autoscaling and Capacity (check_autoscaling.sh)
  • Check Instance Group OS Patch Compliance (check_group_patch_status.sh)
  • Check Instance Group Utilization (check_group_utilization.sh)
  • Generate Instance Group Health Summary (generate_group_summary.sh)

SLI

In-repo sli.robot produces a 0-1 health score averaged across four dimensions:
member health, autoscaling, patch compliance, and utilization. Each dimension is
pushed as a sub-metric, with the aggregate pushed as the primary metric.

Notes / Deviations from Design Spec

  • Generation rules use the CloudQuery table names (gcp_compute_instance_groups,
    gcp_compute_instance_group_managers) and qualifiers: ["resource"] to
    generate one SLX per instance group.
  • INSTANCE_GROUP_NAME is auto-set from the matched resource in the templates.
  • Auth uses the standard gcp-auth.yaml include with gcp_credentials secret.

Scoring

python -m scorer.score104/104 (PASS, threshold 70).

@rw-codebundle-agent
rw-codebundle-agent Bot requested a review from a team as a code owner August 7, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Codebundle] AWS ECS Tasks Healthcheck

0 participants