From ef00d90e2f6698a6bed6fc6df59ad90ae437229f Mon Sep 17 00:00:00 2001 From: Nathan Easton Date: Thu, 1 Jul 2021 14:05:50 -0400 Subject: [PATCH] Added info for prometheus.yml As requested by #5 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61ac203..5cef9af 100644 --- a/README.md +++ b/README.md @@ -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 ``` - +Add this to your prometheus.yml +``` + - job_name: "qbittorrent_exporter" + static_configs: + - targets: ['yourqbittorrentexporter:port'] +``` The application reads configuration using environment variables: | Environment variable | Default | Description |