Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Monitoring Template Yml Metrics I18n | 监控模版指标名称任务认领 #1212

Open
37 of 55 tasks
tomsun28 opened this issue Aug 30, 2023 · 38 comments
Open
37 of 55 tasks
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed new feature status: volunteer wanted task

Comments

@tomsun28
Copy link
Contributor

tomsun28 commented Aug 30, 2023

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:

image

After Metrics I18n:

image

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

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

@tomsun28 tomsun28 added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed status: volunteer wanted new feature task labels Aug 30, 2023
@tomsun28 tomsun28 pinned this issue Aug 30, 2023
@hertzbeat hertzbeat changed the title [Task] Monitoring Template Yml Metrics I18n | 监控模版指标国际化任务认领 [Task] Monitoring Template Yml Metrics I18n | Monitoring template metrics internationalization task claim Aug 30, 2023
@tomsun28 tomsun28 changed the title [Task] Monitoring Template Yml Metrics I18n | Monitoring template metrics internationalization task claim [Task] Monitoring Template Yml Metrics I18n | 监控模版指标国际化任务认领 Aug 30, 2023
@jcmyt
Copy link

jcmyt commented Sep 1, 2023

请问哪个版本支持了啊 ?我现在使用的最新的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.

@hertzbeat
Copy link
Contributor

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.

@tomsun28
Copy link
Contributor Author

tomsun28 commented Sep 1, 2023

请问哪个版本支持了啊 ?我现在使用的最新的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分支代码本地启动支持,我们尽快发布支持新版本

@qyaaaa qyaaaa mentioned this issue Sep 3, 2023
3 tasks
@qyaaaa
Copy link
Contributor

qyaaaa commented Sep 3, 2023

@novohit
Copy link
Contributor

novohit commented Sep 8, 2023

@hertzbeat
Copy link
Contributor

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)

@novohit novohit mentioned this issue Sep 8, 2023
3 tasks
@a-little-fool
Copy link
Contributor

i want to help

@tomsun28
Copy link
Contributor Author

tomsun28 commented Oct 17, 2023

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.

@hertzbeat
Copy link
Contributor

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)

1 similar comment
@hertzbeat
Copy link
Contributor

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)

@a-little-fool
Copy link
Contributor

@SurryChen SurryChen unpinned this issue Nov 4, 2023
@tomsun28 tomsun28 pinned this issue Nov 6, 2023
@idongliming
Copy link
Contributor

[springboot2] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-springboot2.yml)

@a-little-fool
Copy link
Contributor

@hertzbeat
Copy link
Contributor

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 )

@hertzbeat
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Calvin979
Copy link
Contributor

@ZY945
Copy link
Member

ZY945 commented Dec 21, 2023

@liyin
Copy link
Contributor

liyin commented Dec 24, 2023

@hertzbeat
Copy link
Contributor

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)

@liyin
Copy link
Contributor

liyin commented Dec 25, 2023

@hertzbeat
Copy link
Contributor

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)

@tslj1024
Copy link
Contributor

tslj1024 commented Jan 1, 2024

tslj1024 added a commit to tslj1024/hertzbeat that referenced this issue Jan 1, 2024
@oyiyou
Copy link
Contributor

oyiyou commented Jan 12, 2024

@tomsun28 tomsun28 changed the title [Task] Monitoring Template Yml Metrics I18n | 监控模版指标国际化任务认领 [Task] Monitoring Template Yml Metrics I18n | 监控模版指标名称任务认领 Feb 27, 2024
@cuipiheqiuqiu
Copy link
Contributor

@hertzbeat
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@cuipiheqiuqiu
Copy link
Contributor

@cuipiheqiuqiu
Copy link
Contributor

@hertzbeat
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@tomsun28 tomsun28 unpinned this issue Mar 12, 2024
@ZY945
Copy link
Member

ZY945 commented Mar 14, 2024

@ZY945
Copy link
Member

ZY945 commented Mar 14, 2024

@hertzbeat
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


[airflow] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-airflow.yml)

@ZY945
Copy link
Member

ZY945 commented Mar 14, 2024

@ZY945
Copy link
Member

ZY945 commented Mar 17, 2024

[rocketmq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-rocketmq.yml)

@hertzbeat
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


[rocketmq] (https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-rocketmq.yml)

@cuipiheqiuqiu
Copy link
Contributor

@cuipiheqiuqiu
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed new feature status: volunteer wanted task
Projects
None yet
Development

No branches or pull requests