Skip to content

Commit 2db8b5f

Browse files
authored
Add missing metrics_path to multi-target example (#899)
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 <[email protected]>
1 parent 10b9e92 commit 2db8b5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Sample config file for multiple configurations
5656
On the prometheus side you can set a scrape config as follows
5757

5858
- job_name: mysql # To get metrics about the mysql exporter’s targets
59+
metrics_path: /probe
5960
params:
6061
# Not required. Will match value to child in config file. Default value is `client`.
6162
auth_module: [client.servers]

0 commit comments

Comments
 (0)