Closed michaelklishin closed 6 years ago
yes, people seems to be confused with this. But is enabling just prometheus_rabbitmq_exporter enough for 3.6.x? shouldn't I note that for this branch the rest of the plugins has to be enabled?
As long as the plugin lists its dependencies (as in OTP apps) correctly, it should be.
I can confirm that simply enabling prometheus_rabbitmq_exporter
plugin in 3.6.x is sufficient.
ok, thanks guys, cleaned up the readme!
Having learned from rabbitmq/rabbitmq-website#583, rabbitmq-plugins enable prometheus_rabbitmq_exporter
will only work as expected if the RabbitMQ node will be restarted, or when the node is not running and the --offline
flag is used.
prometheus_cowboy
& prometheus_httpd
need to be enabled explicitly if the prometheus_rabbitmq_exporter
plugin is enabled while the RabbitMQ node is running. If the node is restarted, these dependent applications will be started implicitly.
For full context, see rabbitmq/rabbitmq-website#583
According to the README, this is how the plugin should be enabled:
As of RabbitMQ 3.7.0 — which has been around for some 9 months now — dependencies such as
prometheus_cowboy
will not show up in therabbitmq-plugins list
unless they explicitly depend on therabbit
app.Assuming correct dependency declaration in those projects, is it really necessary to ask the user to enable them explicitly, especially if only
prometheus_rabbitmq_exporter
would show up on the list?