File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ cluster_formation.peer_discovery_backend = classic_config
77cluster_formation.classic_config.nodes.{{ ix }} = rabbit@rabbit-node0{{ ix }}_rabbit0{{ ix }}
88{% - endfor %}
99
10+ # explicitly set cluster name so that all nodes share the same name
11+ # see https://github.com/rabbitmq/rabbitmq-server/discussions/11355
12+ # and https://groups.google.com/g/rabbitmq-users/c/A8v8XSmnCnA/m/4ZpoTtEWAQAJ
13+ # important for grafana dashboard to work properly
14+ cluster_name={{ RABBIT_CLUSTER_NAME }}
15+
1016## Sets the initial quorum queue replica count for newly declared quorum queues.
1117## This value can be overridden using the 'x-quorum-initial-group-size' queue argument
1218## at declaration time.
Original file line number Diff line number Diff line change @@ -14,3 +14,5 @@ RABBIT_NETWORK=${RABBIT_NETWORK}
1414PUBLIC_NETWORK = ${ PUBLIC_NETWORK }
1515MONITORED_NETWORK = ${ MONITORED_NETWORK }
1616MONITORING_DOMAIN = ${ MONITORING_DOMAIN }
17+
18+ RABBIT_CLUSTER_NAME = ${ MACHINE_FQDN }
You can’t perform that action at this time.
0 commit comments