{"id":13522062,"url":"https://github.com/onedr0p/exportarr","last_synced_at":"2025-05-14T20:05:53.607Z","repository":{"id":39593239,"uuid":"255076196","full_name":"onedr0p/exportarr","owner":"onedr0p","description":"AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr","archived":false,"fork":false,"pushed_at":"2025-04-05T13:44:43.000Z","size":2617,"stargazers_count":665,"open_issues_count":13,"forks_count":42,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-06T13:04:14.681Z","etag":null,"topics":["bazarr","lidarr","prometheus","prometheus-exporter","prowlarr","radarr","readarr","sabnzbd","sonarr"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onedr0p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"onedr0p","custom":["https://www.paypal.me/devinbuhl"]}},"created_at":"2020-04-12T12:20:14.000Z","updated_at":"2025-04-02T03:48:07.000Z","dependencies_parsed_at":"2023-11-11T00:22:29.236Z","dependency_job_id":"aebdba04-070c-43f2-9c2f-0ec1851bce80","html_url":"https://github.com/onedr0p/exportarr","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedr0p%2Fexportarr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedr0p%2Fexportarr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedr0p%2Fexportarr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedr0p%2Fexportarr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onedr0p","download_url":"https://codeload.github.com/onedr0p/exportarr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741161,"owners_count":21154252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazarr","lidarr","prometheus","prometheus-exporter","prowlarr","radarr","readarr","sabnzbd","sonarr"],"created_at":"2024-08-01T06:00:41.790Z","updated_at":"2025-04-13T15:57:58.629Z","avatar_url":"https://github.com/onedr0p.png","language":"Go","funding_links":["https://github.com/sponsors/onedr0p","https://www.paypal.me/devinbuhl"],"categories":["Go","Complimenting Apps"],"sub_categories":[],"readme":"# Exportarr\n\nAIO Prometheus Exporter for Sonarr, Radarr, Lidarr, Prowlarr, Readarr, Bazarr and Sabnzbd\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/onedr0p/exportarr)](https://goreportcard.com/report/github.com/onedr0p/exportarr)\n\nNote: This exporter will not gather metrics from all apps at once. You will need an `exportarr` instance for each app. Be sure to see the examples below for more information.\n\n![image](.github/images/dashboard-2.png)\n\n## Usage\n\n### Docker Compose\n\nSee examples in the [examples/compose](./examples/compose/) directory.\n\n### Kubernetes\n\nSee examples in the [examples/kubernetes](./examples/kubernetes/) directory.\n\n### Docker CLI\n\n_Replace `$app`, `$port` and `$apikey` with one of the support apps, port and api key_\n\n```sh\n# PORT must be unique across all Exportarr instances\ndocker run --name exportarr_$app \\\n  -e PORT=9707 \\\n  -e URL=\"http://x.x.x.x:$port\" \\\n  -e APIKEY=\"$apikey\" \\\n  --restart unless-stopped \\\n  -p 9707:9707 \\\n  -d ghcr.io/onedr0p/exportarr:latest $app\n```\n\nVisit http://127.0.0.1:9707/metrics to see the app metrics\n\n### CLI\n\n_Replace `$app`, `$port` and `$apikey` with one of the support apps, port and api key_\n\n```sh\n./exportarr $app --help\n\n# --port must be unique across all Exportarr instances\n./exportarr $app \\\n  --port 9707 \\\n  --url \"http://x.x.x.x:$port\" \\\n  --api-key \"$apikey\"\n```\n\nVisit http://127.0.0.1:9707/metrics to see the app metrics\n\n## Configuration\n\n|      Environment Variable       | CLI Flag                       | Description                                                    | Default              | Required |\n| :-----------------------------: | ------------------------------ | -------------------------------------------------------------- | -------------------- | :------: |\n|             `PORT`              | `--port` or `-p`               | The port Exportarr will listen on                              |                      |    ✅    |\n|              `URL`              | `--url` or `-u`                | The full URL to Sonarr, Radarr, or Lidarr                      |                      |    ✅    |\n|            `API_KEY`            | `--api-key` or `-a`            | API Key for Sonarr, Radarr or Lidarr                           |                      |    ❌    |\n|         `API_KEY_FILE`          | `--api-key-file`               | API Key file location for Sonarr, Radarr or Lidarr             |                      |    ❌    |\n|            `CONFIG`             | `--config` or `-c`             | Path to Sonarr, Radarr or Lidarr's `config.xml` (advanced)     |                      |    ❌    |\n|           `INTERFACE`           | `--interface` or `-i`          | The interface IP Exportarr will listen on                      | `0.0.0.0`            |    ❌    |\n|           `LOG_LEVEL`           | `--log-level` or `-l`          | Set the default Log Level                                      | `INFO`               |    ❌    |\n|      `DISABLE_SSL_VERIFY`       | `--disable-ssl-verify`         | Set to `true` to disable SSL verification                      | `false`              |    ❌    |\n|         `AUTH_PASSWORD`         | `--auth-password`              | Set to your basic or form auth password                        |                      |    ❌    |\n|         `AUTH_USERNAME`         | `--auth-username`              | Set to your basic or form auth username                        |                      |    ❌    |\n|           `FORM_AUTH`           | `--form-auth`                  | Use Form Auth instead of basic auth                            | `false`              |    ❌    |\n|   `ENABLE_ADDITIONAL_METRICS`   | `--enable-additional-metrics`  | Set to `true` to enable gathering of additional metrics (slow) | `false`              |    ❌    |\n|  `ENABLE_UNKNOWN_QUEUE_ITEMS`   | `--enable-unknown-queue-items` | Set to `true` to enable gathering unknown queue items          | `false`              |    ❌    |\n|      `PROWLARR__BACKFILL`       | `--backfill`                   | Set to `true` to enable backfill of historical metrics         | `false`              |    ❌    |\n| `PROWLARR__BACKFILL_SINCE_DATE` | `--backfill-since-date`        | Set a date from which to start the backfill                    | `1970-01-01` (epoch) |    ❌    |\n\n### Prowlarr Backfill\n\nThe Prowlarr collector is a little different than other collectors as it's hitting an actual \"stats\" endpoint, collecting counters of events that happened in a small time window, rather than getting all-time statistics like the other collectors. This means that by default, when you start the Prowlarr collector, collected stats will start from that moment (all counters will start from zero).\n\nTo backfill all Prowlarr Data, either use `PROWLARR__BACKFILL` or `--backfill`.\n\nNote that the first request can be extremely slow, depending on how long your Prowlarr instance has been running. You can also specify a start date to limit the backfill if the backfill is timing out:\n\n`PROWLARR__BACKFILL_DATE_SINCE=2023-03-01` or `--backfill-date-since=2023-03-01`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedr0p%2Fexportarr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonedr0p%2Fexportarr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedr0p%2Fexportarr/lists"}