Comments (4)
Greetings,
The plugin has been tested on RabbitMQ 3.7.x and 3.8.0. It is built against RabbitMQ 3.7.x using Erlang 20.3.x.
It has not been tested against RMQ 3.6.x and Erlang 19. You can proceed in two different ways.
- You upgrade RabbitMQ and Erlang to a more recent version. This is the recommended solution as RMQ 3.6.x is not supported anymore.
- You build the plugin yourself against RMQ 3.6.x and erlang 19 following the instructions in the README.
from rabbitmq-cloudwatch-exporter.
Hi @noxdafox,
Thank you for answering me so promptly. I have already tried to install from source
and I am getting the error I've specified above.
[...]
src/ra_server_proc.erl:953: illegal pattern
src/ra_server_proc.erl:956: variable 'S' is unbound
src/ra_server_proc.erl:957: illegal pattern
src/ra_server_proc.erl:962: variable 'E' is unbound
src/ra_server_proc.erl:962: variable 'S' is unbound
make[3]: *** [ebin/ra.app] Error 1
make[2]: *** [app] Error 2
make[2]: Leaving directory `/root/rabbitmq-cloudwatch-exporter/deps/ra'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/root/rabbitmq-cloudwatch-exporter/deps/rabbit'
make: *** [deps] Error 2
Since RMQ 3.6 is unsupported I'll try to follow the upgrade to a newer version of RMQ path. It's the best one.
Taking the above into consideration I'll close the issue.
Thank you :).
from rabbitmq-cloudwatch-exporter.
The above error is because it's trying to build rabbitmq from the master branch rather than 3.6.x
.
To get it work, add the following lines to the Makefile
:
override dep_rabbit = git https://github.com/rabbitmq/rabbitmq-server v3.6.x
override dep_rabbit_common = git https://github.com/rabbitmq/rabbitmq-common v3.6.x
override dep_rabbitmq_management = git https://github.com/rabbitmq/rabbitmq-management v3.6.x
override dep_rabbitmq_management_agent = git https://github.com/rabbitmq/rabbitmq-management-agent v3.6.x
Right after the line:
DEPS = rabbit_common rabbit rabbitmq_management rabbitmq_management_agent
from rabbitmq-cloudwatch-exporter.
Hello @noxdafox,
Thank you for getting back to me with the above clarification. My installation in on Amazon Linux AMI 2018.03.
I have done the modifications you've suggested.
# cat Makefile
PROJECT = rabbitmq_cloudwatch_exporter
DEPS = rabbit_common rabbit rabbitmq_management rabbitmq_management_agent
override dep_rabbit = git https://github.com/rabbitmq/rabbitmq-server v3.6.x
override dep_rabbit_common = git https://github.com/rabbitmq/rabbitmq-common v3.6.x
override dep_rabbitmq_management = git https://github.com/rabbitmq/rabbitmq-management v3.6.x
override dep_rabbitmq_management_agent = git https://github.com/rabbitmq/rabbitmq-management-agent v3.6.x
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
elixir_srcs := mix.exs
app:: $(elixir_srcs) deps
$(MIX) make_all
# FIXME: Use erlang.mk patched for RabbitMQ, while waiting for PRs to be
# reviewed and merged.
ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git
ERLANG_MK_COMMIT = rabbitmq-tmp
include rabbitmq-components.mk
include erlang.mk
Now I receive another error:
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[1]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/recon'
/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit_common/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/recon'
make[1]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
make[1]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/ranch'
/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/ranch'
make[1]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbit'
make[1]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/amqp_client'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/amqp_client'
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/cowboy'
/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[3]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/cowlib'
/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[3]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/cowlib'
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/cowboy'
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_web_dispatch'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_web_dispatch'
make[2]: Entering directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management_agent'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management_agent'
make[1]: Leaving directory `/root/OPS-80/rabbitmq-cloudwatch-exporter/deps/rabbitmq_management'
make_all
make: make_all: Command not found
make: *** [app] Error 127
Anyway, I am going to migrate to 3.7.x this week so please ignore this. Once again thank you for your help.
from rabbitmq-cloudwatch-exporter.
Related Issues (20)
- Error: dependent plugins [goldrush] not found; used by [lager]. HOT 6
- Update plugin configuration in runtime (without a restart) HOT 2
- Metrics not reset (accumulating) HOT 4
- Question: I see that used old style config for node exporter plugin HOT 1
- Error during enable plugin for erlang 21 HOT 3
- fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found HOT 3
- Lager failed to install handler lager_cloudwatch_backend into lager_event HOT 8
- getting 'module could not be loaded' string_compat,to_lower in the latest rabbitmq 3.8
- Support for IMDSV2 HOT 5
- Call to undefined function crypto:hmac HOT 6
- Duplicate and dependency errors HOT 4
- Exporting metrics doesn't work anymore after reinstall HOT 13
- Missing dependencies on enabling plugin HOT 5
- CloudWatch routingKey Metrics HOT 3
- cloudwatch exporter - exporting logs issue HOT 5
- No logs published to Cloudwatch HOT 16
- Metrics export not working in ME-south-1 HOT 9
- Logs are not being sent to Cloudwatch
- a
- bug with cluster name / node IP metric aggregation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-cloudwatch-exporter.