Connection Name not available when deprecated feature management_metrics_collection is disabled #12833
-
Community Support Policy
RabbitMQ version used4.0.3 Erlang version used26.2.x Operating system (distribution) usedUbuntu 24.04.1 LTS How is RabbitMQ deployed?Debian package rabbitmq-diagnostics status outputSee https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 2 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
Steps to reproduce the behavior in question
advanced.configSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code# PASTE CODE HERE, BETWEEN BACKTICKS Kubernetes deployment file# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
User-provided connection name is emitted together with other connection metrics to be displayed in the management UI. If you disable metrics in the management plugin, a whole bunch of data will not be available. The ability to disable metrics in that plugin was added with a specific set of users in mind: those who will use a Prometheus format-based monitoring, standard CLI tools, and other options for monitoring.
So, you get what you asked for: a very minimalistic set of data about connections, queues, streams, and so on. |
Beta Was this translation helpful? Give feedback.
User-provided connection name is emitted together with other connection metrics to be displayed in the management UI.
If you disable metrics in the management plugin, a whole bunch of data will not be available. The ability to disable metrics in that plugin was added with a specific set of users in mind: those who will use a Prometheus format-based monitoring, standard CLI tools, and other options for monitoring.
rabbitmqctl list_connections
and the Prometheus plugin use completely different code paths, and will display user-provided connection names regardless of the management plugin configuration.So, you get what you asked for: a very minimalistic set of data about connections, queues…