prometheus_rabbitmq_exporter icon indicating copy to clipboard operation
prometheus_rabbitmq_exporter copied to clipboard

prometheus_rabbitmq_exporter only running in one node

Open pessoa opened this issue 5 years ago • 1 comments

I have a 3 node kubernetes rabbitmq cluster using: https://github.com/rabbitmq/rabbitmq-peer-discovery-k8s/tree/master/examples/k8s_statefulsets Cluster status of node [email protected] ... [{nodes,[{disc,['[email protected]','[email protected]','[email protected]', '[email protected]']}]}, {running_nodes,['[email protected]','[email protected]','[email protected]']}, {cluster_name,<<"[email protected]">>}, {partitions,[]}, {alarms,[{'[email protected]',[]}, {'[email protected]',[]}, {'[email protected]',[]}]}] and the plugin only runs on one node: [E*] prometheus_rabbitmq_exporter 3.7.2.4 the other two nodes show: [E ] prometheus_rabbitmq_exporter 3.7.2.4 why is this? Is it because the cluster name is [email protected], the DNS name of the only node where the plugin is running?

pessoa avatar Sep 24 '19 15:09 pessoa

@pessoa does https://github.com/helm/charts/pull/18106 help? It requires you to deploy RabbitMQ via Helm, specifically rabbitmq-ha.

gerhard avatar Nov 11 '19 17:11 gerhard