exportarr

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: MIT

README

exportarr

AIO Prometheus Exporter for Sonarr, Radarr or Lidarr(TBD)

Docker Pulls Go Report Card

This is Prometheus Exporter will export metrics gathered from Sonarr, Radarr, or Lidarr. This only supports v3 APIs for Sonarr and Radarr. It will not gather metrics from all 3 at once, and instead you need to tell the exporter what metrics you want. Be sure to see the examples below for more information.

Usage

Run with Docker Compose

See examples in the examples/compose directory

Run with Kubernetes

See examples in the examples/kubernetes directory

Run from the CLI
./exportarr --help
./exportarr sonarr --help
./exportarr radarr --help
./exportarr lidarr --help
Sonarr
./exportarr --listen-port 9707 \
   sonarr \
   --url http://127.0.0.1:8989 \
   --apikey amlmndfb503rfqaa5ln5hj5qkmu3hy18
   --enable-episode-quality-metrics

Visit http://127.0.0.1:9707/metrics to see Sonarr metrics

Radarr
./exportarr --listen-port 9708 \
   radarr \
   --url http://127.0.0.1:7878 \
   --apikey amlmndfb503rfqaa5ln5hj5qkmu3hy18

Visit http://127.0.0.1:9708/metrics to see Radarr metrics

Lidarr
./exportarr --listen-port 9709 \
   lidarr \
   --url http://127.0.0.1:8686 \
   --apikey amlmndfb503rfqaa5ln5hj5qkmu3hy18

Visit http://127.0.0.1:9709/metrics to see Lidarr metrics

Environment Variables

Global
Name Description Default
BASIC_AUTH_ENABLED Set to true to enable Basic Auth false
BASIC_AUTH_USERNAME Set to your username if enabled Basic Auth
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
Sonarr specific
Name Description Default
SONARR_URL Your Sonarr URL http://127.0.0.1:8989
SONARR_APIKEY Your Sonarr API Key
SONARR_ENABLE_EPISODE_QUALITY_METRICS Enable getting episode qualities (slow) false
Radarr specific
Name Description Default
RADARR_URL Your Radarr URL http://127.0.0.1:7878
RADARR_APIKEY Your Radarr API Key
Lidarr specific

TBD

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL