Skip to content

Commit

Permalink
Add missing metrics_path to multi-target example
Browse files Browse the repository at this point in the history
Addresses issue 815:
#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 <thomas.venieris@gmail.com>
  • Loading branch information
tvenieris committed Dec 1, 2024
1 parent 2ef168b commit c3b6293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c3b6293

Please sign in to comment.