From c3b6293d5b43d82da5163b3022daa4b1f384b5cb Mon Sep 17 00:00:00 2001 From: Thomas Venieris Date: Sun, 1 Dec 2024 18:39:31 +0100 Subject: [PATCH] Add missing metrics_path to multi-target example Addresses issue 815: https://github.com/prometheus/mysqld_exporter/issues/815 Like the author of the issue, I also used the example in the README file to setup scraping with Prometheus only to discover that by default the /metrics end-point is scraped instead. Signed-off-by: Thomas Venieris --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3b962092..f354676c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Sample config file for multiple configurations On the prometheus side you can set a scrape config as follows - job_name: mysql # To get metrics about the mysql exporter’s targets + metrics_path: /probe params: # Not required. Will match value to child in config file. Default value is `client`. auth_module: [client.servers]