Skip to content

Commit

Permalink
Fix example prometheus config
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jul 18, 2024
1 parent a84e000 commit f5a1718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scrape_configs:
relabel_configs:
- source_labels: [__address__]
regex: "(.+):.{52}" # Targets are structured as <targetname>:<target z32 key>, and at prometheus level we only need the target name
replacement: "/lookup/$1/metrics/" # Captured part + /metrics appendix
replacement: "/scrape/$1/metrics" # Captured part + /metrics appendix
target_label: __metrics_path__ # => instead of default /metrics
- source_labels: [__address__]
replacement: "localhost:30000" # Replace with the port where the dht-prometheus http server runs
Expand Down

0 comments on commit f5a1718

Please sign in to comment.