Merge branch 'peer_names' of github.com:MindFlavor/prometheus_wireguard_exporter into peer_names

This commit is contained in:
Francesco Cogno 2019-05-20 11:01:22 +02:00
commit b00cddd037
No known key found for this signature in database
GPG Key ID: 20883E192428EA7A
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ Start the binary with `-h` to get the complete syntax. The parameters are:
| -- | -- | -- | -- | -- |
| `-v` | no | <switch> | | Enable verbose mode.
| `-p` | no | any valid port number | 9576 | Specify the service port. This is the port your Prometheus instance should point to.
| `-n` | no | path to the wireguard configuration file | This flag adds the *friendly_name* attribute to the exported entries. See [Friendly names](#friendly-names) for more details.
| `-n` | no | path to the wireguard configuration file | | This flag adds the *friendly_name* attribute to the exported entries. See [Friendly names](#friendly-names) for more details.
Once started, the tool will listen on the specified port (or the default one, 9576, if not specified) and return a Prometheus valid response at the url `/metrics`. So to check if the tool is working properly simply browse the `http://localhost:9576/metrics` (or whichever port you choose).