Skip to content

Commit

Permalink
bugfix app-tomcat memory_pool unit mb (#1268)
Browse files Browse the repository at this point in the history
Co-authored-by: zhuoshangyi <zhuoshangyi@hntradesp.com>
  • Loading branch information
rbsrcy and zhuoshangyi authored Oct 8, 2023
1 parent 80cc076 commit b89aa84
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manager/src/main/resources/define/app-tomcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,16 @@ metrics:
instance: true
- field: committed
type: 0
unit: MB
- field: init
type: 0
unit: MB
- field: max
type: 0
unit: MB
- field: used
type: 0
unit: MB
# (optional)metrics field alias name, it is used as an alias field to map and convert the collected data and metrics field
# (可选)监控指标别名, 做为中间字段与采集数据字段和指标字段映射转换
aliasFields:
Expand All @@ -192,6 +196,11 @@ metrics:
- Usage->init
- Usage->max
- Usage->used
units:
- committed=B->MB
- init=B->MB
- max=B->MB
- used=B->MB
# mapping and conversion expressions, use these and aliasField above to calculate metrics value
# (可选)指标映射转换计算表达式,与上面的别名一起作用,计算出最终需要的指标值
# eg: cores=core1+core2, usage=usage, waitTime=allTime-runningTime
Expand Down

0 comments on commit b89aa84

Please sign in to comment.