Skip to content

Commit

Permalink
Merge branch 'update_readme' into 'master'
Browse files Browse the repository at this point in the history
Updated README.md to include information about the CLI args

See merge request altcoins/geth-exporter!4
  • Loading branch information
tlex committed Mar 24, 2019
2 parents 44fd2bd + d8613cd commit 92abdf2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ geth_exporter:
- 0xcccc...
```

### Command line arguments
The command line arguments take priority over the values in the configuration file:
```
--host Host address of RPC interface to scrape from.
--port Port of the host running the RPC interface.
--interval Scrape interval.
--export-type The output type; choose text or http.
--service-port The port on which we'll serve our /metrics endpoint
--prom-folder Defaults to /var/lib/node_exporter.
```

## Example Metric
```
# HELP geth_block_number The number of the most recent block
Expand Down

0 comments on commit 92abdf2

Please sign in to comment.