AIO Prometheus Exporter for Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr
Go to file
2020-04-12 08:21:46 -04:00
.github/workflows initial commit 2020-04-12 08:21:46 -04:00
build/package initial commit 2020-04-12 08:21:46 -04:00
cmd/exportarr initial commit 2020-04-12 08:21:46 -04:00
examples initial commit 2020-04-12 08:21:46 -04:00
internal initial commit 2020-04-12 08:21:46 -04:00
.dockerignore initial commit 2020-04-12 08:21:46 -04:00
.gitignore initial commit 2020-04-12 08:21:46 -04:00
go.mod initial commit 2020-04-12 08:21:46 -04:00
go.sum initial commit 2020-04-12 08:21:46 -04:00
LICENSE initial commit 2020-04-12 08:21:46 -04:00
README.md initial commit 2020-04-12 08:21:46 -04:00

radarr-exporter

Prometheus Exporter for Radarr

Docker Pulls Go Report Card

Usage

Name Description Default
RADARR_URL Your Radarr URL http://127.0.0.1:7878
RADARR_APIKEY Your Radarr API Key
RADARR_BASIC_AUTH_ENABLED Set to true to enable Basic Auth false
RADARR_BASIC_AUTH_USERNAME Set to your username if enabled Basic Auth
RADARR_BASIC_AUTH_PASSWORD Set to your password if enabled Basic Auth
DISABLE_SSL_VERIFY Set to true to disable SSL verification (use with caution) false
LISTEN_PORT The port the exporter will listen on 9707
LISTEN_IP The IP the exporter will listen on 0.0.0.0
LOG_LEVEL Set the default Log Level INFO

Run with Docker Compose

version: '3.7'
services:
  radarr-exporter:
    image: onedr0p/radarr-exporter:v2.2.0
    environment:
      RADARR_URL: "http://localhost:7878"
      RADARR_APIKEY: "..."

Run with Kubernetes

See radarr-exporter.yaml

Run with the command line

NAME:
   radarr-exporter start -

USAGE:
   radarr-exporter start [command options] [arguments...]

DESCRIPTION:
   Radarr Exporter

OPTIONS:
   --listen-port value          Port the exporter will listen on (default: 9707) [$LISTEN_PORT]
   --listen-ip value            IP the exporter will listen on (default: "0.0.0.0") [$LISTEN_IP]
   --log-level value            Set the default Log Level (default: "INFO") [$LOG_LEVEL]
   --disable-ssl-verify         Disable SSL Verifications (default: false) [$DISABLE_SSL_VERIFY]
   --url value                  Full URL to Radarr (default: "http://localhost:7878") [$RADARR_URL]
   --api-key value              Radarr's API Key (default: "") [$RADARR_APIKEY]
   --basic-auth-enabled         Enable Basic Auth (default: false) [$RADARR_BASIC_AUTH_ENABLED]
   --basic-auth-username value  If Basic Auth is enabled, provide the username (default: "") [$RADARR_BASIC_AUTH_USERNAME]
   --basic-auth-password value  If Basic Auth is enabled, provide the password (default: "") [$RADARR_BASIC_AUTH_PASSWORD]
   --help, -h                   show help (default: false)

Metrics

Note: Due to changes in versions, these may not reflect what is currently being exported.

# HELP radarr_history_total Total number of records in history
# TYPE radarr_history_total gauge
radarr_history_total{url="http://localhost:7878"} 6174
# HELP radarr_movie_download_total Total number of downloaded movies
# TYPE radarr_movie_download_total gauge
radarr_movie_download_total{url="http://localhost:7878"} 4717
# HELP radarr_movie_missing_total Total number of missing movies
# TYPE radarr_movie_missing_total gauge
radarr_movie_missing_total{url="http://localhost:7878"} 97
# HELP radarr_movie_monitored_total Total number of monitored movies
# TYPE radarr_movie_monitored_total gauge
radarr_movie_monitored_total{url="http://localhost:7878"} 155
# HELP radarr_movie_quality_total Total number of downloaded movies by quality
# TYPE radarr_movie_quality_total gauge
radarr_movie_quality_total{url="http://localhost:7878",quality="Bluray-1080p"} 1222
radarr_movie_quality_total{url="http://localhost:7878",quality="Bluray-480p"} 99
radarr_movie_quality_total{url="http://localhost:7878",quality="Bluray-576p"} 267
radarr_movie_quality_total{url="http://localhost:7878",quality="Bluray-720p"} 1004
radarr_movie_quality_total{url="http://localhost:7878",quality="DVD"} 1347
radarr_movie_quality_total{url="http://localhost:7878",quality="HDTV-1080p"} 43
radarr_movie_quality_total{url="http://localhost:7878",quality="HDTV-720p"} 46
radarr_movie_quality_total{url="http://localhost:7878",quality="Remux-1080p"} 48
radarr_movie_quality_total{url="http://localhost:7878",quality="SDTV"} 25
radarr_movie_quality_total{url="http://localhost:7878",quality="WEBDL-1080p"} 465
radarr_movie_quality_total{url="http://localhost:7878",quality="WEBDL-480p"} 53
radarr_movie_quality_total{url="http://localhost:7878",quality="WEBDL-720p"} 94
radarr_movie_quality_total{url="http://localhost:7878",quality="WEBRip-1080p"} 2
# HELP radarr_movie_total Total number of movies
# TYPE radarr_movie_total gauge
radarr_movie_total{url="http://localhost:7878"} 4817
# HELP radarr_movie_unmonitored_total Total number of unmonitored movies
# TYPE radarr_movie_unmonitored_total gauge
radarr_movie_unmonitored_total{url="http://localhost:7878"} 4662
# HELP radarr_movies_bytes Total file size of all movies in bytes
# TYPE radarr_movies_bytes gauge
radarr_movie_bytes{url="http://localhost:7878"} 2.3326478328365e+13
# HELP radarr_queue_total Total number of movies in queue by status
# TYPE radarr_queue_total gauge
radarr_queue_total{url="http://localhost:7878",status="Ok"} 1
radarr_queue_total{url="http://localhost:7878",status="Warning"} 9
# HELP radarr_root_folder_space_bytes Root folder space in bytes
# TYPE radarr_root_folder_space_bytes gauge
radarr_rootfolder_freespace_bytes{folder="/media/Library/Movies/",url="http://localhost:7878"} 2.5011930497024e+13
# HELP radarr_status System Status
# TYPE radarr_status gauge
radarr_status{url="http://localhost:7878"} 1
# HELP radarr_health_issues Health issues in Radarr
# TYPE radarr_health_issues gauge
radarr_health_issues{url="http://localhost:7878",message="Branch develop is for a previous version of Radarr, set branch to 'Aphrodite' for further updates",type="error",wikiurl="https://github.com/Radarr/Radarr/wiki/Health-checks#branch-develop-is-for-a-previous-version-of-radarr-set-branch-to-aphrodite-for-further-updates"} 1
radarr_health_issues{url="http://localhost:7878",message="No download client is available",type="warning",wikiurl="https://github.com/Radarr/Radarr/wiki/Health-checks#no-download-client-is-available"} 1
radarr_health_issues{url="http://localhost:7878",message="No indexers available with Automatic Search enabled, Radarr will not provide any automatic search results",type="warning",wikiurl="https://github.com/Radarr/Radarr/wiki/Health-checks#no-indexers-available-with-automatic-search-enabled-radarr-will-not-provide-any-automatic-search-results"} 1
radarr_health_issues{url="http://localhost:7878",message="No indexers available with RSS sync enabled, Radarr will not grab new releases automatically",type="error",wikiurl="https://github.com/Radarr/Radarr/wiki/Health-checks#no-indexers-available-with-rss-sync-enabled-radarr-will-not-grab-new-releases-automatically"} 1