From a5028887ed0c956946f6ac07c28f4be65c2e68c9 Mon Sep 17 00:00:00 2001 From: Diwakar Date: Wed, 26 Sep 2018 10:39:29 +0630 Subject: [PATCH] Clarify rabbitmq path scrape endpoint translation The final path of the endpoint for metrics gets prefixed with the rabbitmq management plugin path prefix. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 615b31b..514bdf3 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ You can rebuild the plugin yourself very easily - `clone https://github.com/dead ## Configuration This exporter supports the following options via `rabbitmq_exporter` entry of `prometheus` app env: - - `path` - scrape endpoint. Default is `"metrics"`. Note RabbitMQ translates this to `"/api/metrics"`; + - `path` - scrape endpoint. Default is `"metrics"`. Note RabbitMQ translates this to `"{management_plugin_path_prefix}/api/metrics"`; - `use_mgmt_auth` - use built-in management auth. Default is `false`. If true, relies on management plugin for authentication (that guest:guest on fresh setups); - `format` - scrape format. Default is `prometheus_text_format`; - `exchange_messages_stat` - same as `queue_messages_state` but for the exchanges;