Skip to content

Commit

Permalink
Fixed: interface info displays in Mb (#1521)
Browse files Browse the repository at this point in the history
Co-authored-by: zhengqiwei <zhengqiwei@wxchina.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
  • Loading branch information
3 people committed Mar 9, 2024
1 parent fd9d7a9 commit e24e26f
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 20 deletions.
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-almalinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-coreos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-euleros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-rockylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down
7 changes: 5 additions & 2 deletions manager/src/main/resources/define/app-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,16 +403,19 @@ metrics:
en-US: Interface Name
- field: receive_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 入站数据流量
en-US: Receive Bytes
- field: transmit_bytes
type: 0
unit: byte
unit: Mb
i18n:
zh-CN: 出站数据流量
en-US: Transmit Bytes
units:
- receive_bytes=B->MB
- transmit_bytes=B->MB
protocol: ssh
ssh:
host: ^_^host^_^
Expand Down

0 comments on commit e24e26f

Please sign in to comment.