Skip to content

Commit

Permalink
Added missing prometheus.yml configuration on README file
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed May 10, 2019
1 parent 845bc85 commit cc6acaf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ $ ./pihole_exporter -pihole_hostname 192.168.1.10 -pihole_password azerty
... ...
``` ```


Once the exporter is running, you also have to update your `prometheus.yml` configuration to let it scrape the exporter:

```yaml
scrape_configs:
- job_name: 'pihole'
static_configs:
- targets: ['localhost:9311']
```
## Available CLI options ## Available CLI options
```bash ```bash
# Interval of time the exporter will fetch data from PI-Hole # Interval of time the exporter will fetch data from PI-Hole
Expand Down

0 comments on commit cc6acaf

Please sign in to comment.