今天使用docker安装了个rabbitmq,访问UI界面的【Channels菜单】有这样的提示:
Stats in management UI are disabled on this node
原因:
The reason is that the default image disables metrics collector in the management_agent plugin:
# cat /etc/rabbitmq/conf.d/management_agent.disable_metrics_collector.conf
management_agent.disable_metrics_collector = true
For deployment, you could turn it on or off through the configuration file. The instruction could be found :
https://www.rabbitmq.com/management.html#disable-stats
参考:
https://stackoverflow.com/questions/63708061/how-to-enable-stats-in-rabbitmq-management-ui