58 lines
2.3 KiB
JSON
58 lines
2.3 KiB
JSON
[
|
|
{
|
|
"id": "payment-timeout",
|
|
"title": "Payment API timeout",
|
|
"question": "支付接口最近出现超时,请结合知识库、日志和指标判断可能原因,并给出修复建议。",
|
|
"traceFixture": "payment-timeout-pass.json",
|
|
"expectedRootCauseKeywords": ["支付", "超时", "连接池"],
|
|
"minKeywordMatches": 2,
|
|
"requiredEvidenceTools": ["lookup_knowledge", "query_logs", "query_metrics"],
|
|
"allowedVerdicts": ["PASS", "LOW_CONFID"],
|
|
"forbiddenAnswerKeywords": ["无证据确定"]
|
|
},
|
|
{
|
|
"id": "mysql-pool-exhausted",
|
|
"title": "MySQL connection pool exhausted",
|
|
"question": "订单服务大量请求超时,请判断是否和 MySQL 连接池有关。",
|
|
"traceFixture": "mysql-pool-low-confid.json",
|
|
"expectedRootCauseKeywords": ["mysql", "连接池", "超时"],
|
|
"minKeywordMatches": 2,
|
|
"requiredEvidenceTools": ["lookup_knowledge", "query_logs"],
|
|
"allowedVerdicts": ["LOW_CONFID", "PASS"],
|
|
"forbiddenAnswerKeywords": ["已经完全确认"]
|
|
},
|
|
{
|
|
"id": "redis-timeout",
|
|
"title": "Redis timeout",
|
|
"question": "支付服务出现 Redis 连接超时,请定位可能原因。",
|
|
"traceFixture": "redis-timeout-low-confid.json",
|
|
"expectedRootCauseKeywords": ["redis", "超时"],
|
|
"minKeywordMatches": 2,
|
|
"requiredEvidenceTools": ["query_logs"],
|
|
"allowedVerdicts": ["LOW_CONFID", "PASS"],
|
|
"forbiddenAnswerKeywords": ["无需进一步排查"]
|
|
},
|
|
{
|
|
"id": "slow-response",
|
|
"title": "Slow response",
|
|
"question": "用户服务 P99 响应时间升高,请结合指标和日志分析。",
|
|
"traceFixture": "slow-response-pass.json",
|
|
"expectedRootCauseKeywords": ["p99", "慢响应"],
|
|
"minKeywordMatches": 1,
|
|
"requiredEvidenceTools": ["query_metrics", "query_logs"],
|
|
"allowedVerdicts": ["LOW_CONFID", "PASS"],
|
|
"forbiddenAnswerKeywords": ["没有风险"]
|
|
},
|
|
{
|
|
"id": "jvm-memory-risk",
|
|
"title": "JVM memory risk",
|
|
"question": "订单服务内存使用率过高,请判断是否存在 OOM 风险。",
|
|
"traceFixture": "jvm-memory-risk-low-confid.json",
|
|
"expectedRootCauseKeywords": ["jvm", "内存", "oom"],
|
|
"minKeywordMatches": 2,
|
|
"requiredEvidenceTools": ["query_metrics", "query_logs"],
|
|
"allowedVerdicts": ["LOW_CONFID", "PASS"],
|
|
"forbiddenAnswerKeywords": ["可以忽略"]
|
|
}
|
|
]
|