[4.1.x] Management UI stuck in "Management only mode" after toggling management_metrics_collection back to true
#15367
-
Describe the bugIn RabbitMQ 4.1.0, the legacy metrics bridge (management_metrics_collection) appears to exhibit "sticky" behavior. If the feature is disabled and then re-enabled via rabbitmq.conf, the cluster refuses to transition back to the permitted state. This results in the Management UI staying in "Management only mode" indefinitely, even after rolling restarts and verifying that the configuration file is being read correctly by the nodes. Environment : Reproduction steps
Expected behaviorThe Management UI should transition back to showing live metrics and charts once the management_metrics_collection flag is set to true and the nodes are restarted. Additional contextCurrent Config: rabbitmq:
additionalConfig: |
# --- defaults ---
cluster_formation.discovery_retry_limit = 60
cluster_formation.discovery_retry_interval = 2000
channel_max = 5000
consumer_timeout = 600000
ssl_options.verify = verify_none
# definitions.tls.verify = verify_none
cluster_formation.node_cleanup.interval = 10
cluster_formation.node_cleanup.only_log_warning = true
cluster_partition_handling = pause_minority
# definitions.import_backend = local_filesystem
# definitions.local.path = /etc/rabbitmq/definitions
# definitions.skip_if_unchanged = true
heartbeat = 30
tcp_listen_options.nodelay = true
tcp_listen_options.backlog = 128
tcp_listen_options.keepalive = true
vm_memory_high_watermark.relative = 0.75
disk_free_limit.relative = 1.0
log.file.formatter = json
log.console.formatter = json
log.syslog.formatter = json
management.enable_queue_totals = true
management_agent.disable_metrics_collector = false
# --- appended from values.yaml ---
deprecated_features.permit.management_metrics_collection = true
num_acceptors.tcp = 32
queue_leader_locator = balanced
tcp_listen_options.backlog = 1024 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@olakunle-oladimeji-viadialog we do not consider such back-and-forth switching to be an important scenario. In particular given that the management metrics will likely get undeprecated. Clearing the management UI state (cache, local state) and resetting the statistics DB should help. As will adopting Prometheus and Grafana which is the recommended option for monitoring in any case. |
Beta Was this translation helpful? Give feedback.
@olakunle-oladimeji-viadialog we do not consider such back-and-forth switching to be an important scenario. In particular given that the management metrics will likely get undeprecated.
Clearing the management UI state (cache, local state) and resetting the statistics DB should help.
As will adopting Prometheus and Grafana which is the recommended option for monitoring in any case.