Skip to content

Commit

Permalink
[manager]bugfix: linux.cpu.interrupt metric value is illegal (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed May 15, 2022
1 parent abd05e7 commit c9292bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manager/src/main/resources/define/app/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ metrics:
aliasFields:
- info
- cores
- interrupt
- load
- interrupt
- context_switch
- idle
# (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值
# eg: cores=core1+core2, usage=usage, waitTime=allTime-runningTime
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
Expand Down
4 changes: 2 additions & 2 deletions manager/src/main/resources/define/app/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ metrics:
aliasFields:
- info
- cores
- interrupt
- load
- interrupt
- context_switch
- idle
# (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值
# eg: cores=core1+core2, usage=usage, waitTime=allTime-runningTime
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
Expand Down
4 changes: 2 additions & 2 deletions manager/src/main/resources/define/app/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ metrics:
aliasFields:
- info
- cores
- interrupt
- load
- interrupt
- context_switch
- idle
# (非必须)指标计算表达式,与上面的别名一起作用,计算出最终需要的指标值
# eg: cores=core1+core2, usage=usage, waitTime=allTime-runningTime
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
Expand Down

0 comments on commit c9292bf

Please sign in to comment.