√(noham)²
ff9e4cfabd
c
2024-01-21 21:25:39 +01:00
√(noham)²
ec6af68f46
new metrics
2024-01-21 21:19:01 +01:00
√(noham)²
62952917be
total dl/up
2024-01-08 22:28:58 +01:00
Esteban Sánchez
03e4222043
Unit tests ( #23 )
...
* Added unit tests and linting tools for development
* Added pre-commit config file
* Added lint github action
* Add tests and coverage comments to PRs
* Set coverage options
* Fixed yaml
* Fixed permissions
* Omit tests in coverage report
* Run linting only on PRs
2023-11-20 13:12:43 +01:00
Joel Heaps
71416a79ea
Edit docstring
2023-09-29 10:51:52 -05:00
Joel Heaps
330d8ec86a
Add type hints to get_config_value
2023-09-29 10:50:01 -05:00
Joel Heaps
daed737f73
Minor refactor of config functions, signal handler
2023-09-29 10:48:26 -05:00
Joel Heaps
55e37eb814
Use imported TorrenStates, decompose large method
2023-09-29 10:24:49 -05:00
Joel Heaps
ea4bdecdcf
Remove unneeded attridict dependency, add comments
2023-09-29 09:46:51 -05:00
Joel Heaps
3061eb1638
Match helptext to README text
2023-09-29 08:13:12 -05:00
Joel Heaps
50ca1e4162
Refactor - add enums, dataclasses, more type hints
2023-09-28 23:10:21 -05:00
Joel Heaps
45e8381d70
Minor grammar fixup
2023-09-28 22:25:22 -05:00
Joel Heaps
2f07f00592
Use enum for possible torrent statuses
2023-09-28 22:24:49 -05:00
Joel Heaps
e8c0141365
Minor grammar fixes in help notes
2023-09-28 22:14:14 -05:00
Joel Heaps
de1d0fa7d5
Add main block for easier debugging
2023-09-28 22:09:14 -05:00
Joel Heaps
31f309c942
Switch to attridict, format with Black
2023-09-28 22:07:25 -05:00
Esteban Sánchez
2f32c69f50
Style correction
2023-05-09 16:48:15 +02:00
Esteban Sánchez
5773684369
Added an option to verify web UI SSL certificate or not
2023-05-09 16:48:15 +02:00
Jacob Sawatzky
f47ebe94d0
Fix typo
2023-04-25 21:10:56 -04:00
Jacob Sawatzky
e1ed34147c
Return matrics on connection error
2023-04-25 21:06:30 -04:00
Esteban Sanchez
039f7a7ef4
Merge pull request #9 from jhollowe/logging-and-signals
...
Fixed logging and exit errors
2021-07-17 23:18:00 +02:00
John Hollowell
12dcad10d5
Setup logging before config loading
2021-07-16 23:24:58 +00:00
John Hollowell
597307c230
Allow files as config source
...
Allow "FILE__"+config_name to point to a file containing the config value.
This format matches linuxserver.io containers and is comonly used in other containers as well.
e.g. FILE__QBITTORRENT_HOST contains "/run/secrets/q_host" and the contents of the "/run/secrets/q_host" is "1.2.3.4"
2021-07-16 23:24:58 +00:00
John Hollowell
a25005b6a0
Fixed logging and exit errors
...
* Create logger in module so it is always available (still configured in main())
* Allow signals sent multiple times to forcibly kill the exporter
2021-07-16 23:24:26 +00:00
Esteban Sánchez
de00864f11
Small fixes
2021-07-02 16:07:53 +02:00
Esteban Sanchez
53dc38f796
Merge pull request #1 from Gabisonfire/master
...
Added the ability to include uncategorized torrents.
2020-10-22 23:11:35 +02:00
Gab
3bfc3f0673
Removed unused config
2020-10-21 18:58:17 -04:00
Esteban Sánchez
eee65ec84e
Allow setting a metrics prefix
2020-10-21 08:05:51 +02:00
Gab
baf14d495c
Removed now useless logging message
2020-10-20 11:46:50 -04:00
Gab
003297ecfd
Removed uncategorized from config
2020-10-20 11:45:48 -04:00
Gab
2497249b8c
Fixed indentation
2020-10-20 02:10:39 -04:00
Gab
9e9f4a9ce4
Added scraping for uncategorized torrents
2020-10-20 02:10:04 -04:00
Gab
40d9bb964e
Added scraping for uncategorized torrents
2020-10-20 02:05:17 -04:00
Esteban Sánchez
0b3fb04728
Removed unneded code and return earlier
2020-10-01 10:14:56 +02:00
Esteban Sánchez
109924d0da
Fixed up metric value and documentation
2020-09-29 13:46:41 +02:00
Esteban Sánchez
55c4b3a5a7
Fixed config checker
2020-09-29 11:49:16 +02:00
Esteban Sánchez
6007908113
Check config and fail early
2020-09-29 11:45:56 +02:00
Esteban Sánchez
fb767eba1e
First version
2020-09-29 11:12:22 +02:00