mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-21 11:05:22 +01:00
Added missing prometheus.yml configuration on README file
This commit is contained in:
parent
845bc85934
commit
cc6acaf60c
@ -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
|
||||
```bash
|
||||
# Interval of time the exporter will fetch data from PI-Hole
|
||||
|
Loading…
Reference in New Issue
Block a user