An exporter for emby that exports Emby's main metrics.
This project may no longer be maintained. I no longer use emby because of the 25 device limit, which I have unfortunately exceeded.
Not having found a solution with the Emby team and not having the means to take out a subscription just to extend the limit, I was obliged to stop using emby.
If you ever want to add features, I invite you to create a fork of the project and either continue it on your own or make a PR that I'll validate if I can.
Thank you for your understanding.
You can access the metrics on the following url:
http://ip:9210/metrics
I thank jaycedk for the dashboard (it's his)
go get && go build .
To build the exporter you need a maxmind database. To do this, go to Maxmind and download the GeoLite2 City database.
The ".mmdb" file should then be placed at the root of the project with the following name: geoip.mmdb
docker build -t emby_exporter .
docker run -d -it \
--name=emby_exporter \
-e TZ=Europe/Paris \
-e CONFIG_FILE=NAME_OF_YOUR_FILE.yml \
-v '/path/to/your/config/file.yml:/config/file.yml' \
bagul/goemby_exporter:latest
server:
url: "http://<ip|domain name>"
port: 8096
token: "your token"
userID: "your userID"
options: # optional
geoip: true # optional : default false
- Login to your emby server
- Go to the settings page
- Go to the profile page
- In the url, you will find your userID (ex: http://localhost:8096/web/index.html#!/settings/profile.html?userId=<YOUR_USER_ID>&serverId=xxxxx)