From fdd2fa6591623ea1fb72f1e6ed361039136771aa Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Tue, 10 May 2022 19:49:34 +0800 Subject: [PATCH] [manager]bugfix: linux.cpu.interrupt metric value is illegal (#118) --- manager/src/main/resources/define/app/centos.yml | 4 ++-- manager/src/main/resources/define/app/linux.yml | 4 ++-- manager/src/main/resources/define/app/ubuntu.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manager/src/main/resources/define/app/centos.yml b/manager/src/main/resources/define/app/centos.yml index 29a86093b68..a10ef9606ba 100644 --- a/manager/src/main/resources/define/app/centos.yml +++ b/manager/src/main/resources/define/app/centos.yml @@ -75,8 +75,8 @@ metrics: aliasFields: - info - cores - - interrupt - load + - interrupt - context_switch - idle # (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值 @@ -84,8 +84,8 @@ metrics: calculates: - info=info - cores=cores - - interrupt=interrupt - load=load + - interrupt=interrupt - context_switch=context_switch - usage=100-idle # 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk diff --git a/manager/src/main/resources/define/app/linux.yml b/manager/src/main/resources/define/app/linux.yml index 2030183db4b..fbee5f3c86c 100644 --- a/manager/src/main/resources/define/app/linux.yml +++ b/manager/src/main/resources/define/app/linux.yml @@ -75,8 +75,8 @@ metrics: aliasFields: - info - cores - - interrupt - load + - interrupt - context_switch - idle # (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值 @@ -84,8 +84,8 @@ metrics: calculates: - info=info - cores=cores - - interrupt=interrupt - load=load + - interrupt=interrupt - context_switch=context_switch - usage=100-idle # 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk diff --git a/manager/src/main/resources/define/app/ubuntu.yml b/manager/src/main/resources/define/app/ubuntu.yml index 3227ae4b2d8..82be696b3b2 100644 --- a/manager/src/main/resources/define/app/ubuntu.yml +++ b/manager/src/main/resources/define/app/ubuntu.yml @@ -75,8 +75,8 @@ metrics: aliasFields: - info - cores - - interrupt - load + - interrupt - context_switch - idle # (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值 @@ -84,8 +84,8 @@ metrics: calculates: - info=info - cores=cores - - interrupt=interrupt - load=load + - interrupt=interrupt - context_switch=context_switch - usage=100-idle # 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk