We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 753361c commit 147da4dCopy full SHA for 147da4d
README.md
@@ -48,7 +48,21 @@ so this workaround is required.
48
49
The `/clients` endpoint will return a list of all registered clients in the format
50
used by `file_sd_configs`. You could use wget in a cronjob to put it somewhere
51
-file\_sd\_configs can read and then then relabel as needed.
+file\_sd\_configs can read and then then relabel as needed. For example:
52
+
53
+```
54
+scrape_configs:
55
+- job_name: node
56
+ proxy_url: http://proxy:8080/
57
+ file_sd_configs:
58
+ - files:
59
+ - pushprox.json
60
+ relabel_configs:
61
+ - source_labels: ['__address__']
62
+ regex: '(.*)'
63
+ replacement: '$1:9100'
64
+ target_label: '__address__'
65
66
67
## How It Works
68
0 commit comments