noxdafox / rabbitmq-cloudwatch-exporter

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

Error during enable plugin for erlang 21 #29

Closed KursLabIgor closed 3 years ago

KursLabIgor commented 3 years ago

Hi, could you tell me how to build for erlang 21 version?

2020-12-15 08:58:41 =ERROR REPORT====
Loading of /var/lib/rabbitmq/mnesia/rabbit@ip-10-0-7-83-plugins-expand/rabbitmq_cloudwatch_exporter-1.0.0/ebin/Elixir.RabbitMQCloudWatchExporter.ChannelMetrics.beam failed: badfile
2020-12-15 08:58:41 =ERROR REPORT====
beam/beam_load.c(1878): Error loading module 'Elixir.RabbitMQCloudWatchExporter.ChannelMetrics':
  This BEAM file was compiled for a later version of the run-time system than 21.
  To fix this, please recompile this module with an 21 compiler.
  (Use of opcode 164; this emulator supports only up to 163.)
KursLabIgor commented 3 years ago

@noxdafox any comment here?

noxdafox commented 3 years ago

Apologies for the late reply. You can find instructions on how to build the plugin in the README.

KursLabIgor commented 3 years ago

@noxdafox thanks. closed.