[Creator] Add gcp-apigee-traffic-health CodeBundle (#158) - #730
Closed
rw-codebundle-agent[bot] wants to merge 1 commit into
Closed
[Creator] Add gcp-apigee-traffic-health CodeBundle (#158)#730rw-codebundle-agent[bot] wants to merge 1 commit into
rw-codebundle-agent[bot] wants to merge 1 commit into
Conversation
Contributor
|
Closing as a duplicate of #731. The creator bot opened this spec twice — once on Keeping #731, since No content is lost by this close. |
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 #158
Summary
Implements the
gcp-apigee-traffic-healthCodeBundle per the attached design spec. This bundle monitors the runtime traffic, performance, and reliability of Apigee API proxying via Cloud Monitoring.What it monitors
discover_metrics_scope.sh)ERROR_RATE_THRESHOLD(check_error_rates.sh)LATENCY_MS_THRESHOLD(check_latency.sh)check_throughput.sh)check_target_performance.sh)generate_traffic_summary.sh)Includes an in-repo
sli.robotproducing a 0-1 health score across four dimensions (error rate, latency, throughput, target), plussliin the generation rulesoutputItemsand a*-sli.yamltemplate.Test strategy
Deterministic mock-based tests under
.test/covering the design-spec scenarios (healthy_traffic,high_error_rate,high_latency_and_slow_target), run viavalidate-all-tests.sh/task run-mock-tests. A lightweight Terraform scaffold is included for optional future integration testing.Validation
Deviations from spec
qualifiers: ["project", "resource"](GCP platform supports onlyprojectandresourcequalifiers) instead of an "organization" qualifier.apigee.googleapis.com/proxyv2/request_countconfirmed real).