cochize1 41 Posted September 22, 2023 Share Posted September 22, 2023 I might as well start here... 1 Link to comment Share on other sites More sharing options...
Bagul 147 Posted September 22, 2023 Author Share Posted September 22, 2023 1 hour ago, jaycedk said: @Bagul Great work on the new Dev build Emby Theater - Direct play Firefox - Transcode Bitrate at 0mbps, I'll check this problem 1 Link to comment Share on other sites More sharing options...
jaycedk 389 Posted September 22, 2023 Share Posted September 22, 2023 Ha didn't even see that Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 I need help, does anyone have an idea? Link to comment Share on other sites More sharing options...
cochize1 41 Posted December 20, 2023 Share Posted December 20, 2023 shouldn't it be "localhost:9469"? Link to comment Share on other sites More sharing options...
jaycedk 389 Posted December 20, 2023 Share Posted December 20, 2023 That depends on your setup of the exporter. The default port is 9210 Here is my prometheus setup snip - job_name: 'emby-exporter' scrape_interval: 15s static_configs: - targets: ["192.168.1.4:9210"] Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 (edited) Even with an IP address it doesn't work strangely Edited December 20, 2023 by beta666 Link to comment Share on other sites More sharing options...
cochize1 41 Posted December 20, 2023 Share Posted December 20, 2023 yeah, I just copied mine assuming it was default but I must have chenged it along the way. Either way, 8096 is Emby's default hence I figure that the port was the problem. Link to comment Share on other sites More sharing options...
jaycedk 389 Posted December 20, 2023 Share Posted December 20, 2023 @beta666can you post your docker compose. Because port 8096 is the http port of Emby, not the exporter. If you use that port for both dockers, then you will end up with conflicts. Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 5 minutes ago, jaycedk said: @beta666can you post your docker compose. Because port 8096 is the http port of Emby, not the exporter. If you use that port for both dockers, then you will end up with conflicts. I only use Windows, no Docker, just Prometheus. Link to comment Share on other sites More sharing options...
jaycedk 389 Posted December 20, 2023 Share Posted December 20, 2023 Ok I'm running Unraid, so can't help you sorry. Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 1 minute ago, jaycedk said: Ok I'm running Unraid, so can't help you sorry. But thank you for trying. Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 Hello, I have to admit that I don't really have any information. Could you share (hiding private information) your configuration file for the exporter. Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 (edited) 1 hour ago, beta666 said: Even with an IP address it doesn't work strangely What have you installed to obtain these metrics? Why does it point to port 8096? I have the impression that you are using an exporter that has nothing to do with this thread. But maybe I'm wrong Edited December 20, 2023 by Bagul Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 Here are the metrics you should have with the tool proposed on this thread. I know there was a plugin for Emby to export metrics. If I have the time, I'd like to transpose my project into an Emby plugin, but for the moment I don't have one. 1 Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 (edited) 2 hours ago, Bagul said: Hier sind die Metriken, die Sie mit dem in diesem Thread vorgeschlagenen Tool haben sollten. Ich weiß, dass es ein Plugin für Emby gab, um Metriken zu exportieren. Wenn ich Zeit habe, möchte ich mein Projekt in ein Emby-Plugin umsetzen, aber im Moment habe ich keins. I'm using a plugin to display metrics data, but how can I link that to Prometheus without Docker? I've tried all possible variations with job_name: "emby_exporter" and scrape_interval: 5s, using the correct IP address and port, but nothing seems to work." Edited December 20, 2023 by beta666 Link to comment Share on other sites More sharing options...
jaycedk 389 Posted December 20, 2023 Share Posted December 20, 2023 Uhhhh where did you find that plugin ? This thread is not a plugin its a seppret docker that pulls metrics from emby. And passes it on to Prometheus, so we can use that in Grafana. Link to comment Share on other sites More sharing options...
jaycedk 389 Posted December 20, 2023 Share Posted December 20, 2023 If you found it here then support questions should be directed there. Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 1 minute ago, jaycedk said: If you found it here then support questions should be directed there. That's right, I was going to send the link, but you were quicker than me ahah. I think the best thing to do is to open a new thread to describe your problem. This thread unfortunately has nothing to do with this plugin. But I'll be happy to help you, just send me the link by mp to the thread you've opened. Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 And since we're talking about the plugin, the exporter's next step is to transpose it into a plugin for greater simplicity. If anyone knows how to make an Emby plugin, I'd be happy to learn. Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 (edited) 7 minutes ago, jaycedk said: Uhhhh where did you find that plugin ? This thread is not a plugin its a seppret docker that pulls metrics from emby. And passes it on to Prometheus, so we can use that in Grafana. Emby.Metrics.dll I found it in the Emby forum, trying to connect it, unfortunately, it's not working Edited December 20, 2023 by beta666 Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 (edited) 2 minutes ago, beta666 said: Emby.Metrics.dll 10.5 kB · 0 downloads I found it in the Emby forum, trying to connect it, unfortunately, it's not working The only thing I can offer you on this thread is to try my exporter: https://github.com/TOomaAh/emby_exporter_go You can download the executable (in the releases on the right) and read the readme on the same link. Edited December 20, 2023 by Bagul Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 8 minutes ago, Bagul said: The only thing I can offer you on this thread is to try my exporter: https://github.com/TOomaAh/emby_exporter_go You can download the executable (in the releases on the right) and read the readme on the same link. Sorry, I'm a beginner in this matter. I downloaded it from Github. What's the next step? Link to comment Share on other sites More sharing options...
Bagul 147 Posted December 20, 2023 Author Share Posted December 20, 2023 (edited) 26 minutes ago, beta666 said: Sorry, I'm a beginner in this matter. I downloaded it from Github. What's the next step? 1. Go to this link https://github.com/TOomaAh/emby_exporter_go/releases/tag/v1.0.8 2. Download the version that corresponds to your operating system (in your case, Windows: emby_exporter_go_1.0.8_windows_amd64.tar.gz if it's a 64-bit Windows). 3. There's a system for geolocating ip addresses. Either you disable it (I'll come back to this later) or you must: a. Go to this site: https://www.maxmind.com/en/home b. Create an account (it's a well-known, trusted site that doesn't send out newsletters) c. Download the GeoLite2 City database d. Unzip it e. Move the file with the .mmdb extension next to the executable. f. Rename the .mmdb file to "geoip.mmdb" 4. Next to the executable, create a "config.yml" file 5. Use this template and write it to the config.yml file (Indentation must be respected): server: url: "http://<ip|domain name>" port: 8096 token: "your token" userID: "your userID" options: # optional geoip: true # optional : default false 6. Replace the requested information with your own. (for the token it's in the token section in the emby parameters) for the userId: https://github.com/TOomaAh/emby_exporter_go?tab=readme-ov-file#how-to-get-your-userid Then open a cmd/powershell and run the executable from it Edited December 20, 2023 by Bagul 1 Link to comment Share on other sites More sharing options...
beta666 0 Posted December 20, 2023 Share Posted December 20, 2023 (edited) 1 hour ago, Bagul said: 1. Go to this link https://github.com/TOomaAh/emby_exporter_go/releases/tag/v1.0.8 2. Download the version that corresponds to your operating system (in your case, Windows: emby_exporter_go_1.0.8_windows_amd64.tar.gz if it's a 64-bit Windows). 3. There's a system for geolocating ip addresses. Either you disable it (I'll come back to this later) or you must: a. Go to this site: https://www.maxmind.com/en/home b. Create an account (it's a well-known, trusted site that doesn't send out newsletters) c. Download the GeoLite2 City database d. Unzip it e. Move the file with the .mmdb extension next to the executable. f. Rename the .mmdb file to "geoip.mmdb" 4. Next to the executable, create a "config.yml" file 5. Use this template and write it to the config.yml file (Indentation must be respected): server: url: "http://<ip|domain name>" port: 8096 token: "your token" userID: "your userID" options: # optional geoip: true # optional : default false 6. Replace the requested information with your own. (for the token it's in the token section in the emby parameters) for the userId: https://github.com/TOomaAh/emby_exporter_go?tab=readme-ov-file#how-to-get-your-userid Then open a cmd/powershell and run the executable from it Edited December 20, 2023 by beta666 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now