[Creator] [design-spec] gcp-project-quota-health - #765
Open
rw-codebundle-agent[bot] wants to merge 6 commits into
Open
[Creator] [design-spec] gcp-project-quota-health#765rw-codebundle-agent[bot] wants to merge 6 commits into
rw-codebundle-agent[bot] wants to merge 6 commits into
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.
…est harness - Remove duplicate `provider "google"` block from main.tf (was also in providers.tf) - Fix outputs.tf: replace unsupported `.enabled` attr with `.service` on google_project_service data sources - Fix providers.tf: guard `fileexists()` with non-empty check to prevent crash when credentials_file var is "" Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace generic gcp.svg with cloud_monitoring icon — more accurate since the bundle scores quota health via Cloud Monitoring metrics. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Service Usage API v1 rejects pageSize > 200 with a 400 error, causing the script to bail out with "Service Usage API did not return services" even when the SA has valid access. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ripts The scripts were querying non-existent metric types: - quota/allocation → quota/allocation/usage - quota/rate/net_ingress → quota/rate/net_usage - quota/rate/net_egress (removed — does not exist) - quota/rate/per_method (removed — does not exist) These wrong names caused CM to return 0 time series on every run, making all usage-based issue checks silently no-op. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The full script stdout is passed directly to RW.Core.Add Pre To Report, so the heading appeared verbatim in the user-facing platform report. The context content (project, services, console links) is kept. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Automated CodeBundle from runwhen-contrib/codecollection-registry#184.
Source: runwhen-contrib/codecollection-registry#184
Author: rw-codebundle-agent