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

Update app-kafka.yml #788

Merged
merged 1 commit into from
Mar 27, 2023
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
18 changes: 17 additions & 1 deletion manager/src/main/resources/define/app-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,26 @@ name:
zh-CN: Kafka消息系统
en-US: Kafka Message
params:
# field-字段名称标识符
# field-param field key
# field-字段名称标识符
- field: host
# name-param field display i18n name
# name-参数字段显示名称
name:
zh-CN: 主机Host
en-US: Host
# type-param field type(most mapping the html input type)
# type-字段类型,样式(大部分映射input标签type属性)
type: host
# required-true or false
# 是否是必输项 true-必填 false-可选
required: true
- field: port
name:
zh-CN: 端口
en-US: Port
type: number
# when type is number, range is required
# 当type为number时,用range表示范围
range: '[0,65535]'
required: true
Expand Down Expand Up @@ -64,6 +69,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=app-info,id=0
url: ^_^url^_^

Expand All @@ -86,6 +92,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: java.lang:type=Runtime
url: ^_^url^_^

Expand Down Expand Up @@ -131,13 +138,15 @@ metrics:
type: 0
protocol: jmx
jmx:
# host: ipv4 ipv6 domain
# 主机host: ipv4 ipv6 域名
host: ^_^host^_^
# 端口
port: ^_^port^_^
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.controller:type=KafkaController,name=ActiveControllerCount
url: ^_^url^_^

Expand All @@ -153,6 +162,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=ReplicaManager,name=PartitionCount
url: ^_^url^_^

Expand All @@ -168,6 +178,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=ReplicaManager,name=LeaderCount
url: ^_^url^_^

Expand Down Expand Up @@ -195,6 +206,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=KafkaRequestHandlerPool,name=RequestHandlerAvgIdlePercent
url: ^_^url^_^

Expand Down Expand Up @@ -222,6 +234,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -249,6 +262,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=BytesOutPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -276,6 +290,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=ProduceMessageConversionsPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -303,5 +318,6 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec
url: ^_^url^_^