diff --git a/api/core/tools/builtin_tool/providers/apo_analysis/tools/trend.py b/api/core/tools/builtin_tool/providers/apo_analysis/tools/trend.py index 4d61e8ced6..e38331ac39 100644 --- a/api/core/tools/builtin_tool/providers/apo_analysis/tools/trend.py +++ b/api/core/tools/builtin_tool/providers/apo_analysis/tools/trend.py @@ -20,7 +20,7 @@ class TrendTool(BuiltinTool): metric = tool_parameters.get('metricData') metric_data = json.loads(metric) # threshold = float(tool_parameters.get('threshold')) - res = "ok" + res = "true" for serie in metric_data['data']['timeseries']: # for k, v in serie['chart']['chartData'].items(): # v = float(v) diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu.yaml index ba92fa1232..7b981f44b7 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu.yaml @@ -2,19 +2,19 @@ identity: name: 查询容器CPU利用率 author: APO label: - en_US: Query the CPU utilization of the container + en_US: Query the CPU usage of the container zh_Hans: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query the CPU utilization of the container + pt_BR: Query the CPU usage of the container display: type: metric title: 基础设施情况 - 容器CPU - 容器CPU使用率 - Containerd unit: percent(0-100)百分比 description: human: - en_US: Query the CPU utilization of the container + en_US: Query the CPU usage of the container zh_Hans: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query the CPU utilization of the container - llm: Query the CPU utilization of the container + pt_BR: Query the CPU usage of the container + llm: Query the CPU usage of the container parameters: - name: pod type: string diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu_cfs.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu_cfs.yaml index d68cc5d825..75bb8585c7 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu_cfs.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/container_cpu_cfs.yaml @@ -2,19 +2,19 @@ identity: name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) author: APO label: - en_US: Query the CPU utilization of the container + en_US: Query the CPU cfs of the container zh_Hans: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query the CPU utilization of the container + pt_BR: Query the CPU cfs of the container display: type: metric title: 基础设施情况 - 容器CPU - 容器CPU节流时间 - Containerd unit: s 秒 description: human: - en_US: Query the CPU utilization of the container + en_US: Query the CPU cfs of the container zh_Hans: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query the CPU utilization of the container - llm: Query the CPU utilization of the container + pt_BR: Query the CPU cfs of the container + llm: Query the CPU cfs of the container parameters: - name: pod type: string diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/container_disk_time.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/container_disk_time.yaml index a385aa51ff..fbd76e1deb 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/container_disk_time.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/container_disk_time.yaml @@ -2,18 +2,18 @@ identity: name: select_container_cpu author: APO label: - en_US: Query the CPU utilization of the container + en_US: Query the disk read time of the container zh_Hans: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) - pt_BR: Query the CPU utilization of the container + pt_BR: Query the disk read time of the container display: type: metric title: 基础设施情况 - 容器磁盘 - 读写花费时间 /s - Read unit: percent(0-100)百分比 description: human: - en_US: Query the CPU utilization of the container + en_US: Query the disk read time of the container zh_Hans: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) - pt_BR: Query the CPU utilization of the container + pt_BR: Query the disk read time of the container llm: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) parameters: - name: pod diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/container_rss.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/container_rss.yaml index 3a67d4d66e..24da4f43d6 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/container_rss.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/container_rss.yaml @@ -2,14 +2,14 @@ identity: name: 查询容器内存使用量 author: APO label: - en_US: Query container resident memory usage + en_US: Query container memory usage (Containerd) zh_Hans: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query container resident memory usage + pt_BR: Query container memory usage description: human: - en_US: Query container resident memory usage + en_US: Query container memory usage (Containerd) zh_Hans: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) - pt_BR: Query container resident memory usage + pt_BR: Query container memory usage (Containerd) llm: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_cpu_iowait.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_cpu_iowait.yaml index d247cee292..7a85436c97 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_cpu_iowait.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_cpu_iowait.yaml @@ -2,14 +2,14 @@ identity: name: host_cpu_iowait author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the CPU iowait of the host zh_Hans: 宿主机IO等待CPU繁忙率 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the CPU iowait of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the CPU iowait of the host zh_Hans: 宿主机IO等待CPU繁忙率 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the CPU iowait of the host llm: 宿主机IO等待CPU繁忙率 display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_io.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_io.yaml index 6be11e7671..6a97d5b45e 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_io.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_io.yaml @@ -2,14 +2,14 @@ identity: name: 宿主机磁盘IO耗时速率 author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the Disk IO of the host zh_Hans: 宿主机磁盘IO耗时速率 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk IO of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the Disk IO of the host zh_Hans: 宿主机磁盘IO耗时速率 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk IO of the host llm: 宿主机磁盘IO耗时速率 display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_read_bytes.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_read_bytes.yaml index 183e041499..0f7817c45b 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_read_bytes.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_read_bytes.yaml @@ -2,14 +2,14 @@ identity: name: 宿主机磁盘读取数据速率(字节/秒) author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the Disk Read bytes of the host zh_Hans: 宿主机磁盘读取数据速率(字节/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk Read bytes of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the Disk Read bytes of the host zh_Hans: 宿主机磁盘读取数据速率(字节/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk Read bytes of the host llm: 宿主机磁盘读取数据速率(字节/秒) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_used.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_used.yaml index 8d2d253eea..08df10aa14 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_used.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_used.yaml @@ -2,14 +2,14 @@ identity: name: 宿主机磁盘使用率(百分比,不含rootfs) author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the Disk Used of the host zh_Hans: 宿主机磁盘使用率(百分比,不含rootfs) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk Used of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the Disk Used of the host zh_Hans: 宿主机磁盘使用率(百分比,不含rootfs) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk Used of the host llm: 宿主机磁盘使用率(百分比,不含rootfs) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_write_bytes.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_write_bytes.yaml index 08b2705cad..2515d58d9b 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_write_bytes.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_disk_write_bytes.yaml @@ -2,14 +2,14 @@ identity: name: 宿主机磁盘写入数据速率(字节/秒) author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the Disk write bytes of the host zh_Hans: 宿主机磁盘写入数据速率(字节/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk write bytes of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the Disk wirte bytes of the host zh_Hans: 宿主机磁盘写入数据速率(字节/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Disk write bytes of the host llm: 宿主机磁盘写入数据速率(字节/秒) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_fd_open.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_fd_open.yaml index 17c566f28c..a012561ac2 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_fd_open.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_fd_open.yaml @@ -2,14 +2,14 @@ identity: name: host_cpu_fd_open author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the file description open of the host zh_Hans: 宿主机当前打开文件描述符数 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the file description of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the file description of the host zh_Hans: 宿主机当前打开文件描述符数 - pt_BR: Query the CPU utilization of the host + pt_BR: Query the file description of the host llm: 宿主机当前打开文件描述符数 display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/host_net_recv.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/host_net_recv.yaml index 6eac135d46..8b3b03c488 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/host_net_recv.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/host_net_recv.yaml @@ -2,14 +2,14 @@ identity: name: 宿主机网络接收速率(比特/秒) author: APO label: - en_US: Query the CPU utilization of the host + en_US: Query the Net recv of the host zh_Hans: 宿主机网络接收速率(比特/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Net recv of the host description: human: - en_US: Query the CPU utilization of the host + en_US: Query the Net recv of the host zh_Hans: 宿主机网络接收速率(比特/秒) - pt_BR: Query the CPU utilization of the host + pt_BR: Query the Net recv of the host llm: 宿主机网络接收速率(比特/秒) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_avg_resp.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_avg_resp.yaml index 6923f662a7..b0e6d0eef7 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_avg_resp.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_avg_resp.yaml @@ -2,14 +2,14 @@ identity: name: Originx 北极星指标 (服务层级) - RED指标 - 平均响应时间 author: APO label: - en_US: Query the CPU utilization of the host + en_US: Average service response time zh_Hans: 服务平均响应时间(毫秒,按服务名和内容键统计,指定时间段内) - pt_BR: Query the CPU utilization of the host + pt_BR: Average service response time description: human: - en_US: Query the CPU utilization of the host + en_US: Average service response time zh_Hans: 服务平均响应时间(毫秒,按服务名和内容键统计,指定时间段内) - pt_BR: Query the CPU utilization of the host + pt_BR: Average service response time llm: 服务平均响应时间(毫秒,按服务名和内容键统计,指定时间段内) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_resp_ok.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_resp_ok.yaml index 3d69720a88..2134ce3f27 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_resp_ok.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/originx_service_red_resp_ok.yaml @@ -2,14 +2,14 @@ identity: name: Originx 北极星指标 (服务层级) - RED指标 - 请求成功率 author: APO label: - en_US: Query the CPU utilization of the host + en_US: Service request success rate zh_Hans: 服务请求成功率(按服务名和内容键统计,指定时间段内) - pt_BR: Query the CPU utilization of the host + pt_BR: Service request success rate description: human: - en_US: Query the CPU utilization of the host + en_US: Service request success rate zh_Hans: 服务请求成功率(按服务名和内容键统计,指定时间段内) - pt_BR: Query the CPU utilization of the host + pt_BR: Service request success rate llm: 服务请求成功率(按服务名和内容键统计,指定时间段内) display: type: metric diff --git a/api/core/tools/builtin_tool/providers/apo_select/tools/polar_process_all_resp.yaml b/api/core/tools/builtin_tool/providers/apo_select/tools/polar_process_all_resp.yaml index 5893ebb36a..71977eda01 100644 --- a/api/core/tools/builtin_tool/providers/apo_select/tools/polar_process_all_resp.yaml +++ b/api/core/tools/builtin_tool/providers/apo_select/tools/polar_process_all_resp.yaml @@ -2,14 +2,14 @@ identity: name: polar_process_all_resp author: APO label: - en_US: Query the CPU utilization of the host + en_US: Thread Polaris Metrics Process All zh_Hans: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 - pt_BR: Query the CPU utilization of the host + pt_BR: Thread Polaris Metrics Process All description: human: - en_US: Query the CPU utilization of the host + en_US: Thread Polaris Metrics Process All zh_Hans: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 - pt_BR: Query the CPU utilization of the host + pt_BR: Thread Polaris Metrics Process All llm: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 display: type: metric