Skip to content

Commit

Permalink
Add proxy and client CLI options
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobacelar committed May 17, 2021
1 parent 5ffa6e9 commit 6ae938e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@ If the target must be scraped over SSL/TLS, add:
rather than the usual `scheme: https`. Only the default `scheme: http` works with the proxy,
so this workaround is required.

## Proxy CLI Options

| Option | Default | Description |
|--------|---------|-------------|
| --web.listen-address | 8080 | Address to listen on for proxy and client requests.|
| --scrape.max-timeout | 5m | Any scrape with a timeout higher than this will have to be clamped to this|
| --scrape.default-timeout | 15s | If a scrape lacks a timeout, use this value|

## Client CLI Options

| Option | Default | Description|
|--------|---------|------------|
| --proxy-url | | Push proxy to talk to|
| --fqdn | FQDN your host | FQDN to register with|
| --tls.cacert | | \<file> CA certificate to verify peer against |
| --tls.cert | | \<cert> Client certificate file |
| --tls.key | | \<key> Private key file|
| --metrics-addr | | Serve Prometheus metrics at this address|

## Service Discovery

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

0 comments on commit 6ae938e

Please sign in to comment.