Skip to content

Silence RabbitMQ management_metrics_collection deprecation warning#74

Draft
maxi07 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-rabbitmq-depreciation-warning
Draft

Silence RabbitMQ management_metrics_collection deprecation warning#74
maxi07 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-rabbitmq-depreciation-warning

Conversation

Copilot AI commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

RabbitMQ 4.x logs a management_metrics_collection deprecation warning on every startup because the rabbitmq-management plugin still uses this deprecated feature.

Merely permitting the feature (= true) does not stop the warning, and disabling permission alone (= false) escalates it to an error since the collector keeps using it. Both the collector and the deprecated feature must be turned off together.

Changes

  • rabbitmq.conf — disable the management metrics collector and opt out of the deprecated feature:
    management_agent.disable_metrics_collector = true
    deprecated_features.permit.management_metrics_collection = false
    

Trade-off

The management UI (port 15672) still functions for managing queues, exchanges, and connections; only the built-in metric charts are disabled. This aligns with RabbitMQ's recommended direction of delegating metrics to Prometheus.

Copilot AI linked an issue Jul 4, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix RabbitMQ deprecation warning messages Silence RabbitMQ management_metrics_collection deprecation warning Jul 4, 2026
Copilot finished work on behalf of maxi07 July 4, 2026 13:14
Copilot AI requested a review from maxi07 July 4, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RabbitMQ Depreciation warning

2 participants