I'm running qbittorrent-exporter on rpi with os as you can see the details below.
rpi@rpi:~/logs $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
rpi@rpi:~/logs $ uname -a
Linux rpi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
while running exporter I had integer errors such as
[2024-10-03 13:06:23] DEBUG json: cannot unmarshal number 171526531416 into Go struct field .server_state.dl_info_data of type int
[2024-10-03 13:06:23] ERROR Can not unmarshal JSON for maindata
[2024-10-03 13:06:08] DEBUG json: cannot unmarshal number 14989532172 into Go struct field .downloaded of type int
[2024-10-03 13:06:08] ERROR Can not unmarshal JSON for info
I think the reason was my torrents download size was too big for int type.
than I edited qbittorent.go files and changed those variables from int to int64,
I'm not a professional developer so I could not create a pull request for you. I jus did all changes with the help of chatgpt :)
ı just want to inform the issue. maybe you can make the necessary changes in source code. thanks.
Hello,
I'm running qbittorrent-exporter on rpi with os as you can see the details below.
while running exporter I had integer errors such as
I think the reason was my torrents download size was too big for int type.
than I edited qbittorent.go files and changed those variables from int to int64,
i also edited prometheus.go and changed the conversions for related variables.
after these changes and I could run exporter.
I'm not a professional developer so I could not create a pull request for you. I jus did all changes with the help of chatgpt :) ı just want to inform the issue. maybe you can make the necessary changes in source code. thanks.