Skip to content

Commit

Permalink
update usage
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Mar 3, 2024
1 parent 3824d71 commit 270707c
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,29 @@

Prometheus exporter for Fenecon systems

## Configuration
## Usage

```
Usage:
fenecon-exporter [OPTIONS]
Application Options:
--log.debug debug mode [$LOG_DEBUG]
--log.devel development mode [$LOG_DEVEL]
--log.json Switch log output to json format [$LOG_JSON]
--fenecon.auth.username= Username for fenecon login [$FENECON_AUTH_USERNAME]
--fenecon.auth.password= Password for fenecon login (default: user) [$FENECON_AUTH_PASSWORD]
--server.bind= Server address (default: :8080) [$SERVER_BIND]
--server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
--server.timeout.write= Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]
--log.debug debug mode [$LOG_DEBUG]
--log.devel development mode [$LOG_DEVEL]
--log.json Switch log output to json format [$LOG_JSON]
--fenecon.request.timeout= Request timeout (default: 10s) [$FENECON_REQUEST_TIMEOUT]
--fenecon.request.parallel= Number of parallel requests (default: 3) [$FENECON_REQUEST_PARALLEL]
--fenecon.request.retries= Request retries (default: 1) [$FENECON_REQUEST_RETRIES]
--fenecon.request.waittime= Request retries (default: 2s) [$FENECON_REQUEST_WAITTIME]
--fenecon.request.maxwaittime= Request retries (default: 5s) [$FENECON_REQUEST_MAXWAITTIME]
--fenecon.auth.username= Username for fenecon login [$FENECON_AUTH_USERNAME]
--fenecon.auth.password= Password for fenecon login (default: user) [$FENECON_AUTH_PASSWORD]
--server.bind= Server address (default: :8080) [$SERVER_BIND]
--server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
--server.timeout.write= Server write timeout (default: 60s) [$SERVER_TIMEOUT_WRITE]
Help Options:
-h, --help Show this help message
-h, --help Show this help message
```

## HTTP Endpoints
Expand Down

0 comments on commit 270707c

Please sign in to comment.