Init exporter-qbittorrent
This commit is contained in:
parent
a1ec728a71
commit
61830585a2
@ -196,6 +196,26 @@ services:
|
||||
labels:
|
||||
- traefik.disable
|
||||
|
||||
exporter-qbittorrent:
|
||||
image: esanchezm/prometheus-qbittorrent-exporter
|
||||
container_name: monitoring_exporter-qbittorrent
|
||||
environment:
|
||||
- QBITTORRENT_HOST=qbittorrent.jafner.net
|
||||
- QBITTORRENT_PORT=443
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
labels:
|
||||
- traefik.disable
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
external: true
|
||||
|
@ -61,6 +61,10 @@ scrape_configs:
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['exporter-docker:9417','jafner.tools:50417']
|
||||
- job_name: 'exporter-qbittorrent'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['exporter-qbittorrent:8000']
|
||||
|
||||
# scrape IoT devices
|
||||
- job_name: 'tasmota'
|
||||
|
Loading…
Reference in New Issue
Block a user