search
数据采集 采集源配置 RabbitMQ 监控采集

RabbitMQ 监控采集

简介

采集 RabbitMQ 指标上报到 DataFlux 中

前置条件

配置

进入 DataKit 安装目录下的 conf.d/rabbitmq 目录,复制 rabbitmq.conf.sample 并命名为 rabbitmq.conf。示例如下:

配置好后,重启 DataKit 即可生效

采集指标

rabbitmq_overview

指标 描述 类型 单位 Tag
channels int - url,name
connections int - url,name
consumers int - url,name
exchanges int - url,name
messages int - url,name
messages_acked int - url,name
messages_delivered int - url,name
messages_delivered_get int - url,name
messages_published int - url,name
messages_ready int - url,name
queues int - url,name
clustering_listeners int - url,name
amqp_listeners int - url,name
return_unroutable int - url,name
return_unroutable_rate int - url,name

rabbitmq_node

指标 描述 类型 单位 Tag
disk_free int bytes url,node
disk_free_limit int bytes url,node
disk_free_alarm int - url,node
fd_total int - url,node
fd_used int - url,node
mem_limit int bytes url,node
mem_used int bytes url,node
mem_alarm int - url,node
proc_total int - url,node
proc_used int - url,node
run_queue int - url,node
sockets_total int - url,node
sockets_used int - url,node
running int - url,node
uptime int - url,node
health_check_status int - url,node
mnesia_disk_tx_count int - url,node
mnesia_ram_tx_count int - url,node
mnesia_disk_tx_count_rate float - url,node
mnesia_ram_tx_count_rate float - url,node
gc_num int - url,node
gc_bytes_reclaimed int bytes url,node
gc_num_rate float - url,node
gc_bytes_reclaimed_rate float - url,node
io_read_avg_time float - url,node
io_read_avg_time_rate int - url,node
io_read_bytes int bytes url,node
io_read_bytes_rate float bytes per second url,node
io_write_avg_time int milliseconds url,node
io_write_avg_time_rate float milliseconds per second) url,node
io_write_bytes int bytes url,node
io_write_bytes_rate float bytes per second url,node
mem_connection_readers int bytes url,node
mem_connection_writers int bytes url,node
mem_connection_channels int bytes url,node
mem_connection_other int bytes url,node
mem_queue_procs int bytes url,node
mem_queue_slave_procs int bytes url,node
mem_plugins int bytes url,node
mem_other_proc int bytes url,node
mem_metrics int bytes url,node
mem_mgmt_db int bytes url,node
mem_mnesia int bytes url,node
mem_other_ets int bytes url,node
mem_binary int bytes url,node
mem_msg_index int bytes url,node
mem_code int bytes url,node
mem_atom int bytes url,node
mem_other_system int bytes url,node
mem_allocated_unused int bytes url,node
mem_reserved_unallocated int bytes url,node
mem_total int bytes url,node

rabbitmq_queue

指标 描述 类型 单位 Tag
consumer_utilisation float percent url,vhost,node,durable,auto_delete
idle_since int int url,vhost,node,durable,auto_delete
memory int bytes url,vhost,node,durable,auto_delete
message_bytes int bytes url,vhost,node,durable,auto_delete
message_bytes_persist int bytes url,vhost,node,durable,auto_delete
message_bytes_ram int bytes url,vhost,node,durable,auto_delete
message_bytes_ready int bytes url,vhost,node,durable,auto_delete
message_bytes_unacked int bytes url,vhost,node,durable,auto_delete
messages int count url,vhost,node,durable,auto_delete
messages_ack int count url,vhost,node,durable,auto_delete
messages_ack_rate float messages per second url,vhost,node,durable,auto_delete
messages_deliver int count url,vhost,node,durable,auto_delete
messages_deliver_get int count url,vhost,node,durable,auto_delete
messages_deliver_get_rate float messages per second url,vhost,node,durable,auto_delete
messages_publish int count url,vhost,node,durable,auto_delete
messages_publish_rate float messages per second url,vhost,node,durable,auto_delete
messages_ready int count url,vhost,node,durable,auto_delete
messages_redeliver int count url,vhost,node,durable,auto_delete
messages_redeliver_rate float messages per second url,vhost,node,durable,auto_delete
messages_unack integer count url,vhost,node,durable,auto_delete

rabbitmq_exchange

指标 描述 类型 单位 Tag
messages_publish_in int count url,exchange,type,vhost,internal,durable,auto_delete
messages_publish_in_rate int messages per second url,exchange,type,vhost,internal,durable,auto_delete
messages_publish_out int count url,exchange,type,vhost,internal,durable,auto_delete
messages_publish_out_rate int messages per second url,exchange,type,vhost,internal,durable,auto_delete

rabbitmq_federation

指标 描述 类型 单位 Tag
acks_uncommitted int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
consumers int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_unacknowledged int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_uncommitted int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_unconfirmed int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_confirm int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_publish int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue
messages_return_unroutable int count url,type,vhost,upstream,exchange,upstream_exchange,queue,upsteam_queue