onedr0p / exportarr

AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr
MIT License
563 stars 41 forks source link

Bazarr: no series stats #320

Closed Rapha149 closed 2 weeks ago

Rapha149 commented 1 month ago

Details

What steps did you take and what happened:

My Exportarr instance for Bazarr only extracts stats for movie subtitles, not for series/episode subtitles. This is the case for the Docker image and the CLI, and it happens when parsing with Prometheus as well as when accessing the Exportarr endpoint through the browser.
The error can't be that the Bazarr instance is simply not accessible or that the api key is wrong, the movie and health stats are parsed correctly.

What did you expect to happen:

That Exportarr extracts the series/episode subtitle stats as well as the movie subtitle stats.

Additional Information:

Log:

$ ./exportarr bazarr --port 9707 --url "http://localhost:6767/bazarr" --api-key "API_KEY"
2024-08-30T19:03:58.203+0200    INFO    Starting exportarr      {"app_name": "exportarr", "version": "2.0.1", "buildTime": "1712313734", "revision": "e8b408abb11c9e0d440b9e51a86e5be8875c45b5"}
2024-08-30T19:03:58.204+0200    INFO    Starting HTTP Server    {"interface": "0.0.0.0", "port": 9707}
2024-08-30T19:03:59.603+0200    INFO    Sending HTTP request    {"url": "http://localhost:6767/bazarr/api/movies"}
2024-08-30T19:03:59.675+0200    INFO    Sending HTTP request    {"url": "http://localhost:6767/bazarr/api/movies/history"}
2024-08-30T19:03:59.693+0200    INFO    Sending HTTP request    {"url": "http://localhost:6767/bazarr/api/system/health"}
2024-08-30T19:03:59.698+0200    INFO    Sending HTTP request    {"url": "http://localhost:6767/bazarr/api/system/status"}
insuusvenerati commented 2 weeks ago

Did you try enabling the additional metrics via cli flag or env var?

Rapha149 commented 2 weeks ago

Oh, I didn't think that series/episode subtitles counted as 'additional metrics'. Adding the env var fixed it, thanks!