Init exporter-qbittorrent

This commit is contained in:
Joey Hafner 2022-08-08 11:11:16 -07:00
parent a1ec728a71
commit 61830585a2
2 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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'