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

support monitor metrics name i18n: rocketmq #1663

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions manager/src/main/resources/define/app-rocketmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,56 @@ params:
type: text
metrics:
- name: cluster
i18n:
zh-CN: 集群
en-US: cluster
priority: 0
fields:
- field: BrokerId
i18n:
zh-CN: BrokerId
en-US: BrokerId
type: 1
- field: Address
i18n:
zh-CN: 地址
en-US: Address
type: 1
label: true
- field: Version
i18n:
zh-CN: 版本
en-US: Version
type: 1
- field: Producer_Message_TPS
i18n:
zh-CN: 生产消息TPS
en-US: Producer_Message_TPS
type: 0
- field: Consumer_Message_TPS
i18n:
zh-CN: 消费消息TPS
en-US: Consumer_Message_TPS
type: 0
- field: Yesterday_Produce_Count
i18n:
zh-CN: 昨天生产消息数
en-US: Yesterday_Produce_Count
type: 0
- field: Yesterday_Consume_Count
i18n:
zh-CN: 昨天消费消息数
en-US: Yesterday_Consume_Count
type: 0
- field: Today_Produce_Count
i18n:
zh-CN: 今天生产消息数
en-US: Today_Produce_Count
type: 0
- field: Today_Consume_Count
i18n:
zh-CN: 今天消费消息数
en-US: Today_Consume_Count
type: 0
aliasFields:
- brokerId
Expand Down Expand Up @@ -115,20 +145,41 @@ metrics:
secretKey: ^_^secretKey^_^
parseScript: $.clusterBrokerDataList.*
- name: consumer
i18n:
zh-CN: 消费者
en-US: Consumer
priority: 1
fields:
- field: Consumer_group
i18n:
zh-CN: 消费者组
en-US: Consumer_group
type: 1
label: true
- field: Client_quantity
i18n:
zh-CN: 客户端数量
en-US: Client_quantity
type: 0
- field: Message_model
i18n:
zh-CN: 消息模式
en-US: Message_model
type: 1
- field: Consume_type
i18n:
zh-CN: 消费类型
en-US: Consume_type
type: 1
- field: Consume_tps
i18n:
zh-CN: 消费TPS
en-US: Consume_tps
type: 0
- field: Delay
i18n:
zh-CN: 延迟
en-US: Delay
type: 0
aliasFields:
- consumerGroup
Expand Down
Loading