# Plex-exporter

Plex-exporter is a read-only Prometheus exporter for Plex Media Server that exposes metrics such as active sessions, library sizes, bandwidth, and transcoding status on a /metrics endpoint. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1915/plex-exporter

## Description

Plex Exporter is a read-only Prometheus exporter for Plex Media Server that exposes metrics such as active sessions, library sizes, bandwidth, and transcoding status on a /metrics endpoint. Prometheus scrapes these metrics and Grafana visualises them, making it useful for anyone who monitors their Plex server; a ready-made Grafana dashboard ships in the project repository. It has no web UI of its own.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

68/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 10 days ago)
- Popular: 23 (13 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 94 (no serious findings, CI, tests, OpenSSF Scorecard 8.6/10)

## Links

- Docker Hub: https://hub.docker.com/r/cplieger/plex-exporter/
- Unraid: https://ca.unraid.net/apps/plex-exporter-0z0dwqz1phz8dj?q=plex-exporter

## Common questions

### What values go into PLEX_URL and PLEX_TOKEN?

Set PLEX_URL to the address you open Plex at from another device. Set PLEX_TOKEN to your Plex admin token, found by signing in to Plex Web as the server owner. Put both values in a .env file next to compose.yaml.

### Should the /metrics endpoint be exposed publicly?

Its metrics page has no login. Keep it on your own network.

### Does plex-exporter persist metrics itself?

It only reads from Plex. Your own Prometheus and Grafana store and show the data.

### How many containers are needed for multiple Plex servers?

Run one container for each Plex server.

### Can a non-Prometheus scraper scrape it?

Another Prometheus-compatible scraper, such as Grafana Alloy, works too.

### Do host CPU/memory metrics require Plex Pass?

Host CPU, memory, and total bandwidth are added on a server with Plex Pass.

## Alternatives

- Airwave: Airwave is a self-hostable service that turns your Plex library into custom, always-on live TV channels with a channel guide, recording, an…
- Ampache: Ampache is a self-hosted, web-based media server that streams and manages your music and video libraries from any device.
- Channels: Channels DVR is a self-hosted digital video recorder and streaming server that records live TV channels and lets you watch them alongside y…
- Emby: Emby is a self-hosted media server that organizes personal video, music, photo, and live TV libraries and streams them to smart TVs, stream…
- Infuse: Ignite your video content with Infuse – the beautiful way to watch almost any video format on your iPhone, iPad, and Apple TV.
- Jellyfin: Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media.
- Kodi: Kodi is a free, open-source media center and player that organizes and plays movies, shows, music, and photos on TVs, computers, and mobile…
- MediaChips: MediaChips is a desktop app for organizing local media libraries.
- Music Assistant: Music Assistant is a self-hosted, open-source music library manager for Home Assistant.
- OSMC: OSMC (Open Source Media Center) is a free and open source media player based on Linux and founded in 2014 that lets you play back media fro…
- Plex: Plex is a LinuxServer.io Docker container that runs Plex Media Server so home users can organize and stream personal video, music, and phot…
- Rygel: Rygel is a home media server for Linux that shares your audio, video, and pictures across your local network.

---
Source: Our Local Host (https://ourlocalhost.com/app/1915/plex-exporter), the self-hosted and open-source app directory.
