plugin-hub icon indicating copy to clipboard operation
plugin-hub copied to clipboard

Prometheus Skill Exporter

Open CodyFraker opened this issue 5 months ago • 8 comments

tl;dr I wanna send skilling data to my server similar to wise old man. The start of self-hosted runemetrics for OSRS.

This plugin can be used by the player to submit their skills every X minute(s). It exposes a port on the player's machine so that they may add it as a target into prometheus. I will be adding grafana dashboard for this shortly. I plan to extend this to bank value tracking, collection logs, boss drops, and much more. This can be very useful for larger groups such as clans. The tricky part about that is helping teach people to secure their setup. I will happily create a usage guide on this to help players figure this out.

I wanted a way to create a more in-depth version of wise old man but to track my various accounts and my friends. I also don't want to sit here and abuse wise old man via n8n. Figured I'd attempt doing it the "right" way first. Couldn't find anything else other than the CSV exporter but that looked to require manual triggering. This automates it, allowing you to plot skill xp over time. If this gets approved, I'd like to track more things like I discussed above but into all in one plugin. This gives you the ability to make a skilling XP graph over time where each data point can have an explanation as to what had occurred.

attempt# 2 I'm not entirely confident I've submitted this correctly so apologies if there is a mistake. Please let me know what I should add or fix in order for approval.

CodyFraker avatar Nov 07 '25 04:11 CodyFraker

New plugin prometheus-skill-exporter: https://github.com/CodyFraker/Prometheus-Skill-Exporter/tree/a8fcd2a8bb37b9a5aa60580a8c39eb2e883fd3d4

I'm not sure what about the files are over 120 characters in length. I did push a commit to fix this.

CodyFraker avatar Nov 07 '25 04:11 CodyFraker

https://github.com/CodyFraker/Prometheus-Skill-Exporter/blob/9224cd514bfc76d4c97103ce17516ff619b0590f/build.gradle#L47

It says the specific file and line in the build

ldavid432 avatar Nov 07 '25 04:11 ldavid432

Also do not open new PRs, just update the commit hash in this same PR

ldavid432 avatar Nov 07 '25 04:11 ldavid432

also don't use the net.runelite namespace

raiyni avatar Nov 07 '25 04:11 raiyni

Also do not open new PRs, just update the commit hash in this same PR

Ah, that was the piece I was missing. I feel silly now.

CodyFraker avatar Nov 07 '25 04:11 CodyFraker

also don't use the net.runelite namespace

Will push a fix up now. Thank you!

CodyFraker avatar Nov 07 '25 04:11 CodyFraker

remove your gradle.properties

LlemonDuck avatar Nov 07 '25 05:11 LlemonDuck

Closing because the build is still broken. If you fix this in the future you can submit a new PR.

riktenx avatar Dec 30 '25 03:12 riktenx