This is an automated email from the ASF dual-hosted git repository.

shenghang 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 5cd959090 [improve] Update ElasticSearch monitoring template. 
Description supports i18n  (#2662)
5cd959090 is described below

commit 5cd95909072586f0277a763d85c84afc684237c2
Author: Jast <[email protected]>
AuthorDate: Tue Sep 3 21:35:14 2024 +0800

    [improve] Update ElasticSearch monitoring template. Description supports 
i18n  (#2662)
    
    Co-authored-by: Calvin <[email protected]>
---
 manager/src/main/resources/define/app-elasticsearch.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/manager/src/main/resources/define/app-elasticsearch.yml 
b/manager/src/main/resources/define/app-elasticsearch.yml
index be6e3ccb6..6119fef2e 100644
--- a/manager/src/main/resources/define/app-elasticsearch.yml
+++ b/manager/src/main/resources/define/app-elasticsearch.yml
@@ -121,6 +121,9 @@ params:
 metrics:
   # metrics - cpu
   - name: health
+    i18n:
+      zh-CN: 集群健康状态
+      en-US: Cluster Health Status
     # metrics scheduling priority(0->127)->(high->low), metrics with the same 
priority will be scheduled in parallel
     # priority 0's metrics is availability metrics, it will be scheduled 
first, only availability metrics collect success will the scheduling continue
     priority: 0
@@ -224,6 +227,9 @@ metrics:
       parseType: default
 
   - name: nodes
+    i18n:
+      zh-CN: 集群节点信息
+      en-US: Cluster Nodes
     priority: 1
     fields:
       - field: total
@@ -260,6 +266,9 @@ metrics:
       parseScript: '$._nodes'
 
   - name: nodes_detail
+    i18n:
+      zh-CN: 节点详细信息
+      en-US: Node Detail
     priority: 2
     fields:
       - field: node_name


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to