Closed boeboe closed 7 years ago
Nevermind the question, this was actually documented well...
Sample /etc/rabbitmq/rabbitmq.config showing how to customize the scrape path:
[
{rabbit, [
{loopback_users, []},
{tcp_listeners, [5672]},
{ssl_listeners, []},
{hipe_compile, false}
]},
%% Be careful to declare the "prometheus" app
%% environment before the "rabbitmq_management" one.
{prometheus, [
{rabbitmq_exporter, [
{path, "/mymetrics"}
]}
]},
{rabbitmq_management, [
{listener, [
{port, 15672},
{ssl, false}
]}
]}
].
Hi @deadtrickster
What is the default TCP port the /api/metrics endpoint is exposed to? Is this somehow configurable as well?
Best regards, Bart