noxdafox / rabbitmq-cloudwatch-exporter

RabbitMQ Plugin for publishing cluster metrics to AWS CloudWatch
Mozilla Public License 2.0
42 stars 9 forks source link

Singleton metrics publisher process #3

Closed noxdafox closed 5 years ago

noxdafox commented 5 years ago

Currently, the plugin runs a Task process which collects the metrics and publishes them to AWS CW.

This process is unique per node which means either we loose metrics publishing if the node running the process goes down or we run one process per node and we publish metrics multiple times.

We need a singleton mechanism ensuring the Task process is always run once across multi-node clusters.

The :global or the signleton modules could be of help.

noxdafox commented 5 years ago

Handled in release 0.2.0.