* Add sonarr_episode_cutoff_unmet_total metric
* Fix sonarr test fixture by adding missing json file
* Add radarr_movie_cutoff_unmet_total metric
* Remove compiled file
* Fix expected_metrics.txt for radarr using wrong HELP string
* Add missing end-of-line to test ficture JSON files
* Fix redeclare of CutoffUnmet type
* Fix EOL for radarr model
* Fix test fixture data for sonarr and radarr to match expectations
* [bazarr] Add bounded concurrency to episodes endpoint
Signed-off-by: Russell <russell@troxel.io>
* Plumb Bazarr Config & Add defaults
Signed-off-by: Russell <russell@troxel.io>
* Move GolangCILint to run first
Signed-off-by: Russell <russell@troxel.io>
* break linter out into it's own job
Signed-off-by: Russell <russell@troxel.io>
* Bump default batch size to 300, put episode metrics behind EnableAdditionalMetrics
Signed-off-by: Russell Troxel <russell@troxel.io>
---------
Signed-off-by: Russell <russell@troxel.io>
Signed-off-by: Russell Troxel <russell@troxel.io>
* Add golangci-lint, fix lint warnings
Signed-off-by: Russell Troxel <russell@troxel.io>
* Set `shell` on lint actions
Signed-off-by: Russell Troxel <russell@troxel.io>
* go fmt
Signed-off-by: Russell Troxel <russell@troxel.io>
---------
Signed-off-by: Russell Troxel <russell@troxel.io>
* remove the branch requirement to run tests
feature/support-bazarr
* lint makefile
feature/support-bazarr
* add bazarr to readme
feature/support-bazarr
* also comment out release image as we only want tests to happen
feature/support-bazarr
* initial changes to start attempting to pull bazarr i thinnk?
feature/support-bazarr
* make it only run the tests, but skip release image
feature/support-bazarr
* add a genric makefile to build container localy, run and test
feature/support-bazarr
* rename build command
feature/support-bazarr
* add pic and grafana dashboard adjustments
feature/support-bazarr
* refactor metrics to just be contained within 1 class
* add logic to allow csv values to params
* remove some todos
* make api version optional
feature/support-bazarr
* adjust makefile to auto kill and start
feature/support-bazarr
* remove now invalid test
feature/support-bazarr
* add a test for no api version instead
feature/support-bazarr
* add a test to enforce csv params moving forward
feature/support-bazarr
* add saml payloads for all endpoints, add test that mocks and verifies result
feature/support-bazarr
* Update .env.dist
* Update .gitignore
* Update internal/client/client.go
* add a tidy task
---------
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
* Add Sabnzbd Support
Signed-off-by: Russell Troxel <russell@troxel.io>
* Fix collector name in sabnzbd logger
Signed-off-by: Russell Troxel <russell@troxel.io>
---------
Signed-off-by: Russell Troxel <russell@troxel.io>
* Refactor from logrus to zap, with structured logging
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
* Print config errors to stderr when before initLogger
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
---------
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
* Refactor to use Cobra and Koanf for CLI parsing
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
* use gookit/validate rather than ozzo-validation
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
---------
Signed-off-by: Russell Troxel <russell.troxel@segment.com>