Loading...
Loading...
Compare original and translation side by side
Aliyun CLIDAS Plugin (Signature V3)get-yao-chi-agent APIAliyun CLIDAS Plugin (Signature V3)get-yao-chi-agent API| Capability | Description |
|---|---|
| PolarDB Primary-Standby Switchover Analysis | Failover cause investigation, switchover log analysis, unexpected Failover diagnostics |
| PolarDB Kernel Parameter Change Assessment | Impact assessment before parameter modification, change risk analysis |
| PolarDB Kernel Parameter Explanation | Parameter meaning explanation, configuration suggestions, performance impact analysis |
| PolarDB Kernel Parameter Explanation (IMCI) | IMCI columnar engine related parameter explanation |
| PolarDB Kernel Version Proxy Diagnostics | Proxy layer troubleshooting, version compatibility diagnostics |
| PolarDB Kernel Version Instance Diagnostics | Instance layer version issue diagnostics, upgrade suggestions |
| Instance Query Filter | PolarDB instance search and filtering |
| Proxy Performance Monitoring | Proxy layer performance metrics analysis, connection routing diagnostics |
| Serverless Configuration | Serverless instance parameters and elastic scaling configuration |
| SQL Optimization Analysis | Slow SQL analysis, index suggestions, execution plan interpretation |
| Expiring Instance Query | Subscription instance expiration reminder |
| Backup Status Check | Backup completion, retention policy, recovery point in time |
| Storage Usage Diagnostics | Storage consumption analysis, growth trends, space optimization suggestions |
| Security Configuration Audit | Whitelist, SSL, security policy audit |
| Instance Status Check | Instance health status, running status verification |
| Log Diagnostics | Error log analysis, slow log troubleshooting |
| Auto-Increment ID Overflow Detection | Auto-increment ID exhaustion risk detection, primary key overflow warning |
| Connection and Session Analysis | Connection count monitoring, session issue troubleshooting, connection pool optimization |
| Cluster Performance Monitoring | QPS/TPS/connections/throughput and other core metrics analysis |
| High Availability and Disaster Recovery | HA configuration assessment, disaster recovery architecture diagnostics |
| 能力 | 描述 |
|---|---|
| PolarDB主备切换分析 | 故障切换原因排查、切换日志分析、异常故障切换诊断 |
| PolarDB内核参数变更评估 | 参数修改前影响评估、变更风险分析 |
| PolarDB内核参数说明 | 参数含义解释、配置建议、性能影响分析 |
| PolarDB内核参数说明(IMCI) | IMCI列存引擎相关参数解释 |
| PolarDB内核版本代理诊断 | 代理层问题排查、版本兼容性诊断 |
| PolarDB内核版本实例诊断 | 实例层版本问题诊断、升级建议 |
| 实例查询筛选 | PolarDB实例搜索与筛选 |
| 代理性能监控 | 代理层性能指标分析、连接路由诊断 |
| Serverless配置 | Serverless实例参数与弹性扩缩容配置 |
| SQL优化分析 | 慢SQL分析、索引建议、执行计划解读 |
| 到期实例查询 | 包年包月实例到期提醒 |
| 备份状态检查 | 备份完成情况、保留策略、可恢复时间点查询 |
| 存储使用诊断 | 存储消耗分析、增长趋势、空间优化建议 |
| 安全配置审计 | 白名单、SSL、安全策略审计 |
| 实例状态检查 | 实例健康状态、运行状态校验 |
| 日志诊断 | 错误日志分析、慢日志问题排查 |
| 自增ID溢出检测 | 自增ID耗尽风险检测、主键溢出告警 |
| 连接与会话分析 | 连接数监控、会话问题排查、连接池优化 |
| 集群性能监控 | QPS/TPS/连接数/吞吐量等核心指标分析 |
| 高可用与容灾 | HA配置评估、容灾架构诊断 |
Pre-check: Aliyun CLI >= 3.3.1 required Runto verify >= 3.3.1. If not installed or version too low, see references/cli-installation-guide.md for installation instructions. Then [MUST] runaliyun versionto enable automatic plugin installation.aliyun configure set --auto-plugin-install true
undefined前置检查:要求Aliyun CLI版本 >= 3.3.1 运行确认版本不低于3.3.1,如果未安装或版本过低,可参考references/cli-installation-guide.md的安装指引操作。然后**[必须]**运行aliyun version开启自动插件安装功能。aliyun configure set --auto-plugin-install true
undefinedundefinedundefinedIMPORTANT: Parameter Confirmation — Before executing any command or API call, ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, passwords, domain names, resource specifications, etc.) MUST be confirmed with the user. Do NOT assume or use default values without explicit user approval.
| Parameter | Required/Optional | Description | Default |
|---|---|---|---|
| Required | Natural language query content (including region, cluster info) | - |
| Optional | Session ID for multi-turn conversation | - |
| Optional | aliyun CLI profile name | default |
重要提示:参数确认 — 在执行任何命令或API调用前,所有用户可自定义参数(例如RegionId、实例名称、CIDR块、密码、域名、资源规格等)必须与用户确认,未经用户明确许可不得假设或使用默认值。
| 参数 | 必选/可选 | 描述 | 默认值 |
|---|---|---|---|
| 必选 | 自然语言查询内容(包含地域、集群信息) | - |
| 可选 | 多轮对话的会话ID | - |
| 可选 | aliyun CLI配置文件名 | default |
undefinedundefinedundefinedundefinedscripts/call_yaochi_agent.shaliyun das get-yao-chi-agentundefinedscripts/call_yaochi_agent.shaliyun das get-yao-chi-agentundefinedundefinedundefined| Scenario | Example Question |
|---|---|
| Cluster Management | List nodes of cluster pc-xxx |
| Performance Diagnostics | How to troubleshoot high CPU usage in cluster pc-xxx |
| Slow SQL Analysis | Show slow SQL in cluster pc-xxx in the last hour |
| Parameter Tuning | What does loose_polar_log_bin parameter mean |
| IMCI Parameters | How to configure IMCI related parameters for cluster pc-xxx |
| Primary-Standby | How to handle high primary-standby delay in cluster pc-xxx |
| Backup Recovery | When was the latest backup of cluster pc-xxx |
| Storage Optimization | What to do if storage usage of cluster pc-xxx grows too fast |
| Connection Troubleshooting | Cluster pc-xxx connections are full |
| Security Audit | Check security configuration of cluster pc-xxx |
| 场景 | 示例问题 |
|---|---|
| 集群管理 | 列出pc-xxx集群的节点 |
| 性能诊断 | 如何排查pc-xxx集群CPU使用率高的问题 |
| 慢SQL分析 | 展示pc-xxx集群过去1小时的慢SQL |
| 参数调优 | loose_polar_log_bin参数的含义是什么 |
| IMCI参数 | 如何为pc-xxx集群配置IMCI相关参数 |
| 主备相关 | 如何处理pc-xxx集群主备延迟高的问题 |
| 备份恢复 | pc-xxx集群最近一次备份是什么时候 |
| 存储优化 | pc-xxx集群存储用量增长过快怎么办 |
| 连接问题排查 | pc-xxx集群连接数已满 |
| 安全审计 | 检查pc-xxx集群的安全配置 |
pc---session-idThrottling.UserConcurrentLimitaliyun configurepc---session-idThrottling.UserConcurrentLimitaliyun configure| Reference | Description |
|---|---|
| references/cli-installation-guide.md | Aliyun CLI installation and configuration guide |
| references/related-apis.md | Related API and CLI command list |
| references/ram-policies.md | RAM permission policy list |
| references/verification-method.md | Success verification methods |
| references/acceptance-criteria.md | Acceptance criteria |
| 参考文档 | 描述 |
|---|---|
| references/cli-installation-guide.md | Aliyun CLI安装与配置指南 |
| references/related-apis.md | 相关API与CLI命令列表 |
| references/ram-policies.md | RAM权限策略列表 |
| references/verification-method.md | 成功验证方法 |
| references/acceptance-criteria.md | 验收标准 |