Skip to content

Commit 6ae938e

Browse files
committed
Add proxy and client CLI options
1 parent 5ffa6e9 commit 6ae938e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,25 @@ If the target must be scraped over SSL/TLS, add:
4444
rather than the usual `scheme: https`. Only the default `scheme: http` works with the proxy,
4545
so this workaround is required.
4646

47+
## Proxy CLI Options
48+
49+
| Option | Default | Description |
50+
|--------|---------|-------------|
51+
| --web.listen-address | 8080 | Address to listen on for proxy and client requests.|
52+
| --scrape.max-timeout | 5m | Any scrape with a timeout higher than this will have to be clamped to this|
53+
| --scrape.default-timeout | 15s | If a scrape lacks a timeout, use this value|
54+
55+
## Client CLI Options
56+
57+
| Option | Default | Description|
58+
|--------|---------|------------|
59+
| --proxy-url | | Push proxy to talk to|
60+
| --fqdn | FQDN your host | FQDN to register with|
61+
| --tls.cacert | | \<file> CA certificate to verify peer against |
62+
| --tls.cert | | \<cert> Client certificate file |
63+
| --tls.key | | \<key> Private key file|
64+
| --metrics-addr | | Serve Prometheus metrics at this address|
65+
4766
## Service Discovery
4867

4968
The `/clients` endpoint will return a list of all registered clients in the format

0 commit comments

Comments
 (0)