Skip to content

Commit

Permalink
fix: high cardinality
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Sep 27, 2024
1 parent 87427cd commit 2afeb67
Show file tree
Hide file tree
Showing 8 changed files with 2,504 additions and 601 deletions.
1 change: 1 addition & 0 deletions .env.exemple
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ QBITTORRENT_PASSWORD=
EXPORTER_PORT=
LOG_LEVEL=INFO
DISABLE_TRACKER=false
ENABLE_HIGH_CARDINALITY=false
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,17 @@ Docker compressed size is ~10 MB.

### Environment variables

| Parameters | Function | Default Value |
| :-----------------------: | -------------------------------------------------------- | ----------------------- |
| `-p 8090` | Webservice port | |
| `-e QBITTORRENT_USERNAME` | qBittorrent username | `admin` |
| `-e QBITTORRENT_PASSWORD` | qBittorrent password | `adminadmin` |
| `-e QBITTORRENT_BASE_URL` | qBittorrent base URL | `http://localhost:8090` |
| `-e QBITTORRENT_TIMEOUT` | duration before ending a request to qBittorrent | `30` |
| `-e EXPORTER_PORT` | qbittorrent export port (optional) | `8090` |
| `-e DISABLE_TRACKER` | get tracker infos (need an API request for each tracker) | `false` |
| `-e LOG_LEVEL` | App log level (`DEBUG`, `INFO`, `WARN` and `ERROR`) | `INFO` |
| Parameters | Function | Default Value |
| :-----------------------: | ----------------------------------------------------------- | ----------------------- |
| `-p 8090` | Webservice port | |
| `-e QBITTORRENT_USERNAME` | qBittorrent username | `admin` |
| `-e QBITTORRENT_PASSWORD` | qBittorrent password | `adminadmin` |
| `-e QBITTORRENT_BASE_URL` | qBittorrent base URL | `http://localhost:8090` |
| `-e QBITTORRENT_TIMEOUT` | duration before ending a request to qBittorrent | `30` |
| `-e EXPORTER_PORT` | qbittorrent export port (optional) | `8090` |
| `-e DISABLE_TRACKER` | get tracker infos (need an API request for each tracker) | `false` |
| `-e LOG_LEVEL` | App log level (`DEBUG`, `INFO`, `WARN` and `ERROR`) | `INFO` |
| `-e ENABLE_HIGH_CARDINALITY` | enable high cardinality metric (`qbittorrent_torrent_info`) | `false` |

### Arguments

Expand Down
Loading

0 comments on commit 2afeb67

Please sign in to comment.