This is an automated email from the ASF dual-hosted git repository.
gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new ceab3023b [improve] linux chart display (#2559)
ceab3023b is described below
commit ceab3023b18c0d1a78c7e814e14cd7092ab337c1
Author: Jast <[email protected]>
AuthorDate: Mon Aug 19 22:25:24 2024 +0800
[improve] linux chart display (#2559)
---
manager/src/main/resources/define/app-almalinux.yml | 8 ++++----
manager/src/main/resources/define/app-centos.yml | 8 ++++----
manager/src/main/resources/define/app-coreos.yml | 8 ++++----
manager/src/main/resources/define/app-debian.yml | 8 ++++----
manager/src/main/resources/define/app-euleros.yml | 8 ++++----
manager/src/main/resources/define/app-linux.yml | 8 ++++----
manager/src/main/resources/define/app-linux_script.yml | 8 ++++----
manager/src/main/resources/define/app-opensuse.yml | 8 ++++----
manager/src/main/resources/define/app-redhat.yml | 8 ++++----
manager/src/main/resources/define/app-rockylinux.yml | 8 ++++----
manager/src/main/resources/define/app-ubuntu.yml | 8 ++++----
11 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/manager/src/main/resources/define/app-almalinux.yml
b/manager/src/main/resources/define/app-almalinux.yml
index 101e0de90..bac55b998 100644
--- a/manager/src/main/resources/define/app-almalinux.yml
+++ b/manager/src/main/resources/define/app-almalinux.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-centos.yml
b/manager/src/main/resources/define/app-centos.yml
index 4b5a57903..55a138047 100644
--- a/manager/src/main/resources/define/app-centos.yml
+++ b/manager/src/main/resources/define/app-centos.yml
@@ -178,7 +178,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -239,7 +239,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -306,12 +306,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-coreos.yml
b/manager/src/main/resources/define/app-coreos.yml
index e074c2c9e..b3e22a4b9 100644
--- a/manager/src/main/resources/define/app-coreos.yml
+++ b/manager/src/main/resources/define/app-coreos.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-debian.yml
b/manager/src/main/resources/define/app-debian.yml
index 225f4d46e..11827652a 100644
--- a/manager/src/main/resources/define/app-debian.yml
+++ b/manager/src/main/resources/define/app-debian.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-euleros.yml
b/manager/src/main/resources/define/app-euleros.yml
index 8bcbb4d52..9c9f172a6 100644
--- a/manager/src/main/resources/define/app-euleros.yml
+++ b/manager/src/main/resources/define/app-euleros.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-linux.yml
b/manager/src/main/resources/define/app-linux.yml
index 698f43b0b..857949641 100644
--- a/manager/src/main/resources/define/app-linux.yml
+++ b/manager/src/main/resources/define/app-linux.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-linux_script.yml
b/manager/src/main/resources/define/app-linux_script.yml
index b5d2633ed..113c90f1a 100644
--- a/manager/src/main/resources/define/app-linux_script.yml
+++ b/manager/src/main/resources/define/app-linux_script.yml
@@ -97,7 +97,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -155,7 +155,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -217,12 +217,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-opensuse.yml
b/manager/src/main/resources/define/app-opensuse.yml
index 75546e737..7cae69a79 100644
--- a/manager/src/main/resources/define/app-opensuse.yml
+++ b/manager/src/main/resources/define/app-opensuse.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-redhat.yml
b/manager/src/main/resources/define/app-redhat.yml
index d9f47b8e0..e733df10a 100644
--- a/manager/src/main/resources/define/app-redhat.yml
+++ b/manager/src/main/resources/define/app-redhat.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-rockylinux.yml
b/manager/src/main/resources/define/app-rockylinux.yml
index e608572e6..f93737ed7 100644
--- a/manager/src/main/resources/define/app-rockylinux.yml
+++ b/manager/src/main/resources/define/app-rockylinux.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
diff --git a/manager/src/main/resources/define/app-ubuntu.yml
b/manager/src/main/resources/define/app-ubuntu.yml
index 3a5d3e0fb..9bd626928 100644
--- a/manager/src/main/resources/define/app-ubuntu.yml
+++ b/manager/src/main/resources/define/app-ubuntu.yml
@@ -177,7 +177,7 @@ metrics:
zh-CN: 型号
en-US: Info
- field: cores
- type: 0
+ type: 1
i18n:
zh-CN: 核数
en-US: Cores
@@ -238,7 +238,7 @@ metrics:
priority: 2
fields:
- field: total
- type: 0
+ type: 1
unit: Mb
i18n:
zh-CN: 总内存容量
@@ -305,12 +305,12 @@ metrics:
priority: 3
fields:
- field: disk_num
- type: 0
+ type: 1
i18n:
zh-CN: 磁盘总数
en-US: Disk Num
- field: partition_num
- type: 0
+ type: 1
i18n:
zh-CN: 分区总数
en-US: Partition Num
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]