Files
tracer-cloud--opensre/tests/synthetic/rds_postgres/004-cpu-saturation-bad-query/answer.yml
T
wehub-resource-sync 4b6817381b
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
CI / coverage-report (push) Has been cancelled
CI / test-kubernetes (push) Has been cancelled
CI / should-run-thorough (push) Has been cancelled
CI / test-thorough (cloudwatch-demo) (push) Has been cancelled
CI / test-thorough (flink-ecs) (push) Has been cancelled
CI / test-thorough (upstream-lambda) (push) Has been cancelled
CI / test-thorough (prefect-ecs-fargate) (push) Has been cancelled
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Has been cancelled
Benchmark image — build + push to ECR (any adapter) / build + push (push) Has been cancelled
CI / quality (ubuntu-latest) (push) Has been cancelled
CI / test (tools-runtime) (push) Has been cancelled
CI / test (e2e-general) (push) Has been cancelled
CI / test (cli-runtime) (push) Has been cancelled
CI / test (e2e-provider-and-openclaw) (push) Has been cancelled
CI / test (integrations-and-misc) (push) Has been cancelled
Release / verify (push) Has been cancelled
Release / build-python-dist (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Has been cancelled
Release / publish-release (push) Has been cancelled
Release / publish-main-release (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Has been cancelled
Release / prepare (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:10:45 +08:00

38 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
root_cause_category: cpu_saturation_bad_query
equivalent_root_cause_categories:
- cpu_saturation
required_keywords:
- CPU
- query
- Performance Insights
required_evidence_sources:
- aws_performance_insights
forbidden_categories:
- connection_exhaustion
optimal_trajectory:
- query_grafana_metrics
- query_grafana_logs
- query_grafana_alert_rules
- describe_rds_instance
- describe_rds_events
max_investigation_loops: 4
model_response: |
ROOT_CAUSE: CPU saturation on catalog-prod caused by a full table scan query (SELECT * FROM orders WHERE status = ?) running at 7.2 out of 8 available vCPUs. The query lacks a selective index on the status column, forcing sequential scans at 16,00018,000 ReadIOPS.
ROOT_CAUSE_CATEGORY: cpu_saturation_bad_query
VALIDATED_CLAIMS:
- CPUUtilization sustained 8897% over the full 20-minute window. [evidence: aws_cloudwatch_metrics]
- ReadIOPS peaked at 18,100 consistent with repeated full table scans. [evidence: aws_cloudwatch_metrics]
- DatabaseConnections remained stable at ~160, ruling out connection exhaustion as a factor. [evidence: aws_cloudwatch_metrics]
- Performance Insights shows "SELECT * FROM orders WHERE status = $1" consuming 7.2 avg active sessions, with CPU:user as the dominant wait event (5.9 AAS). [evidence: aws_performance_insights]
- No RDS infrastructure events occurred during the window. [evidence: aws_rds_events]
NON_VALIDATED_CLAIMS:
- Adding a partial index on (status) for non-completed orders would likely reduce CPU load by 80%+.
CAUSAL_CHAIN:
- The orders table has no index on the status column.
- api_reader sessions execute repeated full-table scans at 3.8 calls/sec.
- Each scan reads ~18,000 IOPS worth of data pages, saturating the CPU at 90%+.
- Query response times degraded, causing application-level timeouts.