mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-24 00:59:28 +00:00
Merge pull request #6 from ndragon798/patch-1
Added info for prometheus.yml
This commit is contained in:
commit
1f6e8aa380
@ -22,7 +22,12 @@ Another option is run it in a docker container.
|
|||||||
```
|
```
|
||||||
docker run -e QBITTORRENT_PORT=8080 -e QBITTORRENT_HOST=myserver.local -p 8000:8000 esanchezm/prometheus-qbittorrent-exporter
|
docker run -e QBITTORRENT_PORT=8080 -e QBITTORRENT_HOST=myserver.local -p 8000:8000 esanchezm/prometheus-qbittorrent-exporter
|
||||||
```
|
```
|
||||||
|
Add this to your prometheus.yml
|
||||||
|
```
|
||||||
|
- job_name: "qbittorrent_exporter"
|
||||||
|
static_configs:
|
||||||
|
- targets: ['yourqbittorrentexporter:port']
|
||||||
|
```
|
||||||
The application reads configuration using environment variables:
|
The application reads configuration using environment variables:
|
||||||
|
|
||||||
| Environment variable | Default | Description |
|
| Environment variable | Default | Description |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user