add more metrics to cluster monitoring

This commit is contained in:
medcl 2021-02-23 15:16:40 +08:00
parent 7311274061
commit 71b54c8c25
4 changed files with 4013 additions and 7 deletions

File diff suppressed because it is too large Load Diff

View File

@ -177,6 +177,11 @@ export default {
'dashboard.charts.title.cluster_throughput.axis.searching':"Searching Throughput",
'dashboard.charts.title.cluster_latency.axis.indexing':"Indexing Latency",
'dashboard.charts.title.cluster_latency.axis.searching':"Searching Latency",
'dashboard.charts.title.system_load.axis.load':"System Load",
'dashboard.charts.title.system_network.axis.traffic':"Network Throughput",
'dashboard.charts.title.system_disk.axis.throughput':"Disk Throughput",
'dashboard.charts.title.system_disk.axis.iops':"Disk IOPS",
'dashboard.charts.title.system_memory.axis.memory':"Memory Usage",
'app.login.message-invalid-credentials': 'Invalid username or passwordadmin/888888',

View File

@ -182,7 +182,11 @@ export default {
'dashboard.charts.title.cluster_throughput.axis.searching':"查询吞吐",
'dashboard.charts.title.cluster_latency.axis.indexing':"索引延迟",
'dashboard.charts.title.cluster_latency.axis.searching':"查询延迟",
'dashboard.charts.title.system_load.axis.load':"系统负载",
'dashboard.charts.title.system_network.axis.traffic':"网络吞吐",
'dashboard.charts.title.system_disk.axis.throughput':"磁盘吞吐",
'dashboard.charts.title.system_disk.axis.iops':"磁盘 IOPS",
'dashboard.charts.title.system_memory.axis.memory':"内存统计",
'app.login.message-invalid-credentials': '账户或密码错误admin/888888',
'app.login.message-invalid-verification-code': '验证码错误',

View File

@ -38,12 +38,12 @@ let HealthCircle = (props) => {
)
}
const unitArr = Array("Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");
const unitArr = Array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");
let formatter = {
bytes: (value) => {
if (null == value || value === '') {
return "0 Bytes";
if (isNaN(value) || null == value || value === ''||value==0) {
return "0B";
}
var index = 0;
var srcsize = parseFloat(value);