[Task] Monitoring Template Yml Metrics I18n | 监控模版指标名称任务认领
Description
Monitoring Template Yml Metrics I18n Task
监控模版指标国际化任务认领
Hi guys, in the past, the Metrics Name of HertzBeat monitoring details could only display the English field, and could not support the configuration to display international name aliases such as English and Chinese. We are very glad that this version supports it. We have configured the internationalized name of the metrics into the monitoring template YML of each monitoring type. Because there are too many monitoring templates and the translation of the metrics name of each monitoring type needs to be considered, so I ask for your help here. Interested partners are welcome to cooperate and contribute to the internationalization of the monitoring template metrics translation. Thanks!
小伙伴们大家好,之前
HertzBeat的监控详情的指标名称只能展示英文指标field字段,无法支持配置展示英文中文等国际化名称别名。很高兴这个版本我们对其支持了,指标的国际化名称我们将其配置到了各个监控类型的监控模版YML中。因为监控模版实在太多且每个监控类型的指标名称翻译都需要考量,所以在这里请求大家的帮助,欢迎感兴趣的小伙伴协作贡献大家一起把监控模版指标翻译国际化做好。谢谢,爱心💗!
Demo before:
After Metrics I18n:
Task List
Just comment on the corresponding task under this issue, and one PR corresponds to one monitoring template YML. as follows:
领取方式,在本 issues 下评论对应任务即可,一个PR对应一个监控模版YML。如下:
- [x] Metrics I18n https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-zookeeper.yml
- [x] Metrics I18n https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-zookeeper.yml
Add i18n translation content under the metrics group and fields, for example: i18n.zh-CN: CPU 信息 i18n.en-US: CPU Info, English and Chinese are required, please pay attention to format alignment.
在指标组和指标下面添加i18n翻译内容, 例如:i18n.zh-CN: CPU 信息 i18n.en-US: CPU Info,需支持英文和中文,请注意格式对齐。
Example:
- name: cpu
i18n:
zh-CN: CPU 信息
en-US: CPU Info
priority: 1
fields:
- field: info
type: 1
i18n:
zh-CN: 型号
en-US: Info
- field: cores
type: 0
i18n:
zh-CN: 核数
en-US: Cores
- field: interrupt
type: 0
i18n:
zh-CN: 中断数
en-US: Interrupt
- field: load
type: 1
i18n:
zh-CN: 负载
en-US: Load
- field: context_switch
type: 0
i18n:
zh-CN: 上下文切换
en-US: Context Switch
- field: usage
type: 0
unit: '%'
i18n:
zh-CN: 使用率
en-US: Usage
Task List
- [x] [activemq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-activemq.yml)
- [x] [airflow] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-airflow.yml)
- [x] [api] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-api.yml)
- [x] [api_code] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-api_code.yml)
- [x] [cisco_switch] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-cisco_switch.yml)
- [x] #1639
- [ ] [dm] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-dm.yml)
- [x] [docker] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-docker.yml)
- [ ] [doris_be] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-doris_be.yml)
- [ ] [doris_fe] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-doris_fe.yml)
- [x] [dynamic_tp] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-dynamic_tp.yml)
- [x] #1570
- [x] [flink] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-flink.yml)
- [x] [ftp] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-ftp.yml)
- [ ] [fullsite] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-fullsite.yml)
- [x] [h3c_switch] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-h3c_switch.yml)
- [x] [hadoop] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-hadoop.yml)
- [ ] [hertzbeat] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-hertzbeat.yml)
- [ ] [hertzbeat_token] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-hertzbeat_token.yml)
- [x] [hpe_switch] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-hpe_switch.yml)
- [x] [huawei_switch] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-huawei_switch.yml)
- [ ] [influxdb_promql] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-influxdb_promql.yml)
- [x] [iotdb] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-iotdb.yml)
- [x] [jetty] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-jetty.yml)
- [x] [jvm] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-jvm.yml)
- [x] [kafka] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-kafka.yml)
- [x] [kafka_promql] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-kafka_promql.yml)
- [x] [kubernetes] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-kubernetes.yml)
- [x] [mariadb] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mariadb.yml)
- [x] [mongodb] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mongodb.yml)
- [x] [mysql] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mysql.yml)
- [ ] [nacos] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-nacos.yml)
- [ ] [opengauss] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-opengauss.yml)
- [ ] [oracle] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-oracle.yml)
- [x] [ping] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-ping.yml)
- [x] [port] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-port.yml)
- [ ] [postgresql] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-postgresql.yml)
- [x] [rabbitmq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-rabbitmq.yml)
- [x] [redis] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-redis.yml)
- [ ] [redis_cluster] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-redis_cluster.yml)
- [ ] [redis_sentinel] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-redis_sentinel.yml)
- [x] [rocketmq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-rocketmq.yml)
- [ ] [shenyu] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-shenyu.yml)
- [x] [spark] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-spark.yml)
- [x] [springboot2] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot2.yml)
- [x] [springboot3] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot3.yml)
- [ ] [sqlserver] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-sqlserver.yml)
- [x] [ssl_cert] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-ssl_cert.yml)
- [ ] [tidb] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-tidb.yml)
- [ ] [tomcat] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-tomcat.yml)
- [x] [tplink_switch] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-tplink_switch.yml)
- [x] [website] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-website.yml)
- [ ] [windows] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-windows.yml)
- [x] [zookeeper] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-zookeeper.yml)
请问哪个版本支持了啊 ?我现在使用的最新的1.40安装版本(Windows),还不支持,替换define目录下的yml文件,服务直接崩溃了。 May I ask which version supports it? The latest 1.40 version I am using now does not support it. If the yml file in the define directory is replaced, the service directly crashes.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
May I ask which version supports it? The latest 1.40 version I am using now does not support it. If the yml file in the define directory is replaced, the service directly crashes.
请问哪个版本支持了啊 ?我现在使用的最新的1.40安装版本(Windows),还不支持,替换define目录下的yml文件,服务直接崩溃了。 May I ask which version supports it? The latest 1.40 version I am using now does not support it. If the yml file in the define directory is replaced, the service directly crashes.
hi你好,国际化目前只能是在master分支代码本地启动支持,我们尽快发布支持新版本
- [x] [ping] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-ping.yml)
- [x] [api] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-api.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[api] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-api.yml)
i want to help
i want to help
@a-little-fool welcome. Just comment on the corresponding task under this issue, and one PR corresponds to one monitoring template YML.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[mysql](https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mysql.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[mysql](https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mysql.yml)
[mysql](https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mysql.yml)
[springboot2] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot2.yml)
[mongodb] ( https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mongodb.yml )
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[mongodb] ( https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-mongodb.yml )
- [x] [jvm] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-jvm.yml) #1376
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
- [x] [jvm] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-jvm.yml) #1376
- [x] [redis] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-redis.yml) #1390
[rabbitmq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-rabbitmq.yml)
[springboot3] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot3.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[springboot3] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot3.yml)
[docker] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-docker.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
[docker] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-docker.yml)
- [x] [docker] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-docker.yml)
[redis] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-redis.yml)
- [x] Metrics I18n [flink] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-flink.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
- [x] Metrics I18n [flink] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-flink.yml)
- [x] Metrics I18 [kubernetes] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-kubernetes.yml)
- [x] Metrics I18n [zookeeper] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-zookeeper.yml)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
- [x] Metrics I18n [zookeeper] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-zookeeper.yml)
[dynamic_tp] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-dynamic_tp.yml)