Giter Club home page Giter Club logo

overseerr-exporter's Introduction

Overseerr Exporter    GitHub release (latest SemVer)  GitHub Workflow Status

Export media request data from an Oversseerr instance to a Prometheus instance.


Usage

docker run --rm -p 9850:9850 ghcr.io/willfantom/overseerr-exporter:latest \
  "--overseerr.address=https://overseerr.example.com" \
  "--overseerr.api-key=examplesecretapikey"

Dashboard

example-dash


Exporter Metrics

Two main metric groups are exported: Requests and Users.

Requests

The requests on the Overseerr server are counted. Request counts have the following labels:

Label Description Configurable
request_status The approval status for the requests (e.g. Approved) no
media_status The media status for requested items (e.g. Available) no
media_type The category of request media (e.g. movie) no
is_4k Requested on a 4k tagged service (e.g. true) no
genre The main genre for a requested media item yes
company The production company or network for a requested item yes

⚠️ Collecting Genre/Company info can take a lot of time with large request quantities

Users

User request counts of an Overseerr server are collected with the following labels:

Label Description Configurable
email The email address of the user no

Configuration

Flag Description Default
log Sets the logging level for the exporter fatal
web.listen-address The address for the exporter to listen on :9850
web.telemetry-path The path to expose the metrics /metrics
overseerr.address The URI of the Overseerr instance
overseerr.api-key The admin API key of the Overseerr instance
overseerr.locale The locale of the Overseerr instance en
overseerr.scrape.genres Collect genre information for requests true
overseerr.scrape.companies Collect company information for requests true

You must provide the Overseerr address and API key!


Build the Container

docker build --rm -f Dockerfile \
  --build-arg EXPORTER_VERSION=local \
  -t overseerr-exporter:latest .

TODO

  • Improve dashboard (more graphs!)
  • Export version metrics
  • Include issue counters

overseerr-exporter's People

Contributors

imgbotapp avatar willfantom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

overseerr-exporter's Issues

Publish amd64 images

Getting a format error when running these, so I had to build my own containers for amd64.

Keep getting Could not connect to Overseerr error

My instance has a Telegram bot and the exporter keeps giving this error:

Could not connect to Overseerr" message="json: cannot unmarshal string into Go struct field UserSettings.settings.telegramChatId of type int"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.