Skip to content

Commit

Permalink
Add port to docker run call and document RUST_LOG
Browse files Browse the repository at this point in the history
I was a little confused when I set this up and needed to invest some time to figure this out. I hope this can help other users that run into similar problems.
  • Loading branch information
znkr committed Feb 25, 2021
1 parent 9a894f4 commit 97a28dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ You can run it using the following example and pass configuration environment va
$ docker run \
-e 'EXPORTER_USERNAME=your-username@acme.tld' \
-e 'EXPORTER_PASSWORD=your-password' \
-p '9898:9898'
ekofr/tado-exporter:latest
```

Expand Down Expand Up @@ -117,6 +118,7 @@ scrape_configs:
| EXPORTER_PASSWORD | Required. This represent your tado° account password |
| EXPORTER_CLIENT_SECRET | Optional. This represent your tado° account client secret, using default value seems to work |
| EXPORTER_TICKER | Optional (default: 10). This represent the number of seconds the exporter will look for new data |
| RUST_LOG | Optional (default: info). This describes the log level (see https://docs.rs/env_logger/) |
## Available Prometheus metrics
Expand Down

0 comments on commit 97a28dd

Please sign in to comment.