Skip to content

feat: add sportarr exporter - #430

Open
Sportarr wants to merge 1 commit into
onedr0p:mainfrom
Sportarr:sportarr-support
Open

feat: add sportarr exporter#430
Sportarr wants to merge 1 commit into
onedr0p:mainfrom
Sportarr:sportarr-support

Conversation

@Sportarr

@Sportarr Sportarr commented Aug 5, 2026

Copy link
Copy Markdown

Description of the change

Adds a sportarr command for Sportarr, a sports event manager exposing Sonarr-v3-shaped endpoints. The command reuses the shared arr collectors (queue, root folder, disk space, status, health) plus a sportarr collector mirroring the sonarr one (series/season/episode totals, monitored/missing/cutoff-unmet), all under the sportarr_ metric prefix. Tests and testdata mirror the sonarr set.

Benefits

Sportarr users get first-class Prometheus metrics under their own prefix instead of pointing the sonarr exporter at it and reading mislabeled metrics.

Possible drawbacks

None known. The command only adds new files plus registration mirroring the sonarr command; no existing collector behavior changes.

Applicable issues

None.

Additional information

go build, go test ./... and golangci-lint run are all clean. Live-verified against a real Sportarr instance; every collector family populates with zero scrape errors. Requires Sportarr v4.1.0 or newer. I maintain Sportarr and will keep the exporter integration updated.

Adds a sportarr command exporting the same metric families as the
sonarr exporter (series/season/episode totals, queue, root folder,
disk space, status, health) with the sportarr_ prefix. Sportarr
(https://github.com/Sportarr/Sportarr) serves the Sonarr-v3-shaped
endpoints these collectors consume; its history endpoint is not paged,
so runs pair naturally with --disable-history-metrics. Collector,
tests and testdata mirror the sonarr set; go test and golangci-lint
are clean.
@Sportarr
Sportarr requested a review from onedr0p as a code owner August 5, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant