Describe the bug
Related discussion: #15146
Repository with RabbitMQ configuration and reproduction details: https://github.com/lukebakken/rabbitmq-server-15146
TL;DR these two settings in rabbitmq.conf...
management_agent.disable_metrics_collector = true
management.disable_stats = true
...cause non-stats-related data to no longer be present via HTTP API requests.
Reproduction steps
Please see https://github.com/lukebakken/rabbitmq-server-15146/tree/main?tab=readme-ov-file#repro-steps
Expected behavior
Data like policy names is preserved in HTTP API even when stats are disabled.
Additional context
No response