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

app-rabbitmq.yml support for international name aliases #1439

Merged
merged 1 commit into from
Dec 21, 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
195 changes: 195 additions & 0 deletions manager/src/main/resources/define/app-rabbitmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,39 @@ metrics:
# field-指标名称, type-指标类型(0-number数字,1-string字符串), unit-指标单位('%','ms','MB'), label-是否是指标标签字段
- field: product_version
type: 1
i18n:
zh-CN: 产品版本
en-US: Product Version
- field: product_name
type: 1
i18n:
zh-CN: 产品名称
en-US: Product Name
- field: rabbitmq_version
type: 1
i18n:
zh-CN: RabbitMQ 版本
en-US: RabbitMQ Version
- field: managementrabb_version
type: 1
i18n:
zh-CN: RabbitMQ Management 版本
en-US: RabbitMQ Management Version
- field: erlang_version
type: 1
i18n:
zh-CN: Erlang 版本
en-US: Erlang Version
- field: cluster_name
type: 1
i18n:
zh-CN: 集群名称
en-US: Cluster Name
- field: rates_mode
type: 1
i18n:
zh-CN: 速率模式
en-US: Rates Mode
# 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk
protocol: http
# 当protocol为http协议时具体的采集配置
Expand Down Expand Up @@ -196,14 +217,29 @@ metrics:
# field-指标名称, type-指标类型(0-number数字,1-string字符串), unit-指标单位('%','ms','MB'), label-是否是指标标签字段
- field: channels
type: 0
i18n:
zh-CN: 通道数
en-US: Channels
- field: connections
type: 0
i18n:
zh-CN: 连接数
en-US: Connections
- field: consumers
type: 0
i18n:
zh-CN: 消费者数
en-US: Consumers
- field: exchanges
type: 0
i18n:
zh-CN: 交换器数
en-US: Exchanges
- field: queues
type: 0
i18n:
zh-CN: 队列数
en-US: Queues
protocol: http
http:
# 主机host: ipv4 ipv6 域名
Expand Down Expand Up @@ -240,83 +276,185 @@ metrics:
- field: name
type: 1
label: true
i18n:
zh-CN: 名称
en-US: Name
- field: type
type: 1
i18n:
zh-CN: 类型
en-US: Type
- field: running
type: 1
i18n:
zh-CN: 运行状态
en-US: Running
- field: os_pid
type: 1
i18n:
zh-CN: 操作系统进程ID
en-US: OS PID
- field: mem_limit
type: 0
unit: MB
i18n:
zh-CN: 内存限制
en-US: Memory Limit
- field: mem_used
type: 0
unit: MB
i18n:
zh-CN: 已使用内存
en-US: Memory Used
- field: fd_total
type: 0
i18n:
zh-CN: 文件描述符总数
en-US: Total File Descriptors
- field: fd_used
type: 0
i18n:
zh-CN: 已使用文件描述符
en-US: Used File Descriptors
- field: sockets_total
type: 0
i18n:
zh-CN: 总套接字数
en-US: Total Sockets
- field: sockets_used
type: 0
i18n:
zh-CN: 已使用套接字数
en-US: Used Sockets
- field: proc_total
type: 0
i18n:
zh-CN: 进程总数
en-US: Total Processes
- field: proc_used
type: 0
i18n:
zh-CN: 已使用进程数
en-US: Used Processes
- field: disk_free_limit
type: 0
unit: GB
i18n:
zh-CN: 磁盘可用空间限制
en-US: Disk Free Limit
- field: disk_free
type: 0
unit: GB
i18n:
zh-CN: 可用磁盘空间
en-US: Disk Free
- field: gc_num
type: 0
i18n:
zh-CN: 垃圾回收次数
en-US: GC Count
- field: gc_bytes_reclaimed
type: 0
unit: MB
i18n:
zh-CN: 回收的垃圾字节数
en-US: GC Bytes Reclaimed
- field: context_switches
type: 0
i18n:
zh-CN: 上下文切换次数
en-US: Context Switches
- field: io_read_count
type: 0
i18n:
zh-CN: 读取次数
en-US: IO Read Count
- field: io_read_bytes
type: 0
unit: KB
i18n:
zh-CN: 读取字节数
en-US: IO Read Bytes
- field: io_read_avg_time
type: 0
unit: ms
i18n:
zh-CN: 平均读取时间
en-US: IO Read Average Time
- field: io_write_count
type: 0
i18n:
zh-CN: 写入次数
en-US: IO Write Count
- field: io_write_bytes
type: 0
unit: KB
i18n:
zh-CN: 写入字节数
en-US: IO Write Bytes
- field: io_write_avg_time
type: 0
unit: ms
i18n:
zh-CN: 平均写入时间
en-US: IO Write Average Time
- field: io_seek_count
type: 0
i18n:
zh-CN: 寻址次数
en-US: IO Seek Count
- field: io_seek_avg_time
type: 0
unit: ms
i18n:
zh-CN: 平均寻址时间
en-US: IO Seek Average Time
- field: io_sync_count
type: 0
i18n:
zh-CN: 同步次数
en-US: IO Sync Count
- field: io_sync_avg_time
type: 0
unit: ms
i18n:
zh-CN: 平均同步时间
en-US: IO Sync Average Time
- field: connection_created
type: 0
i18n:
zh-CN: 创建的连接数
en-US: Connections Created
- field: connection_closed
type: 0
i18n:
zh-CN: 关闭的连接数
en-US: Connections Closed
- field: channel_created
type: 0
i18n:
zh-CN: 创建的通道数
en-US: Channels Created
- field: channel_closed
type: 0
i18n:
zh-CN: 关闭的通道数
en-US: Channels Closed
- field: queue_declared
type: 0
i18n:
zh-CN: 声明的队列数
en-US: Queues Declared
- field: queue_created
type: 0
i18n:
zh-CN: 创建的队列数
en-US: Queues Created
- field: queue_deleted
type: 0
i18n:
zh-CN: 删除的队列数
en-US: Queues Deleted
units:
- mem_limit=B->MB
- mem_used=B->MB
Expand Down Expand Up @@ -361,48 +499,105 @@ metrics:
- field: name
type: 1
label: true
i18n:
zh-CN: 名称
en-US: Name
- field: node
type: 1
i18n:
zh-CN: 节点
en-US: Node
- field: state
type: 1
i18n:
zh-CN: 状态
en-US: State
- field: type
type: 1
i18n:
zh-CN: 类型
en-US: Type
- field: vhost
type: 1
i18n:
zh-CN: 虚拟主机
en-US: Vhost
- field: auto_delete
type: 1
i18n:
zh-CN: 自动删除
en-US: Auto Delete
- field: policy
type: 1
i18n:
zh-CN: 策略
en-US: Policy
- field: consumers
type: 0
i18n:
zh-CN: 消费者数
en-US: Consumers
- field: memory
type: 0
unit: B
i18n:
zh-CN: 内存占用
en-US: Memory
- field: messages_ready
type: 0
i18n:
zh-CN: 就绪消息数
en-US: Messages Ready
- field: messages_unacknowledged
type: 0
i18n:
zh-CN: 未确认消息数
en-US: Messages Unacknowledged
- field: messages
type: 0
i18n:
zh-CN: 消息总数
en-US: Messages
- field: messages_ready_ram
type: 0
i18n:
zh-CN: 就绪消息占用内存
en-US: Messages Ready RAM
- field: messages_persistent
type: 0
i18n:
zh-CN: 持久化消息数
en-US: Persistent Messages
- field: message_bytes
type: 0
unit: B
i18n:
zh-CN: 消息字节数
en-US: Message Bytes
- field: message_bytes_ready
type: 0
unit: B
i18n:
zh-CN: 就绪消息字节数
en-US: Message Bytes Ready
- field: message_bytes_unacknowledged
type: 0
unit: B
i18n:
zh-CN: 未确认消息字节数
en-US: Message Bytes Unacknowledged
- field: message_bytes_ram
type: 0
unit: B
i18n:
zh-CN: 消息占用内存字节数
en-US: Message Bytes RAM
- field: message_bytes_persistent
type: 0
unit: B
i18n:
zh-CN: 持久化消息字节数
en-US: Persistent Message Bytes
protocol: http
http:
# 主机host: ipv4 ipv6 域名
Expand Down
Loading