Add gcp-project-quota-health CodeBundle - #764
Open
rw-codebundle-agent[bot] wants to merge 1 commit into
Open
Conversation
Implements a project-wide, service-agnostic GCP quota health monitor covering allocation quota usage vs limits, rate quota consumption and throttling events, quotas above a configurable warning threshold, and quota rejection events from Cloud Logging. Includes an in-repo SLI, generation rules, templates, and test infrastructure. Addresses issue #184.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #184
Summary
Adds the
gcp-project-quota-healthCodeBundle torw-cli-codecollection. It is a project-wide, service-agnostic GCP quota monitor covering:QUOTA_WARNING_THRESHOLD(default 80%) and flags every quota at/above it.Includes an in-repo
sli.robotproducing a 0-1 aggregate health score, generation rules (resourceTypes: project), SLX/taskset/SLI templates, and.testinfrastructure.Deviations from Design Spec
sli.robot(per SLI authoring guidance for health bundles) in addition to the bundled SLI template.identify_quotas_above_threshold.shprefers the authoritative Cloud Quotas API (cloudquotas.googleapis.com) limit when available and falls back to Service UsageconsumerQuotaMetrics, matching the spec's note.Scoring
python -m scorer.score codebundles/gcp-project-quota-health→ 104/104 (no critical failures).