prometheus_rabbitmq_exporter
prometheus_rabbitmq_exporter copied to clipboard
prometheus_rabbitmq_exporter only running in one node
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 does https://github.com/helm/charts/pull/18106 help? It requires you to deploy RabbitMQ via Helm, specifically rabbitmq-ha
.