reposilite icon indicating copy to clipboard operation
reposilite copied to clipboard

Support for Prometheus/Grafana

Open Deftu opened this issue 2 years ago • 2 comments

Request details

To my knowledge, both Prometheus and Grafana are very commonly used analytics/statics platforms.

As shown to me by Dzikoysk in the Discord server, Javalin has functionality to track web requests built-in. This just needs to be implemented somehow. (I'm hoping through the statistics plugin?)

Deftu avatar Jun 22 '22 13:06 Deftu

I wonder if we want to keep simple statistics in Reposilite or we should fully move to external service 🤔

dzikoysk avatar Jul 05 '22 21:07 dzikoysk

If the plugin interface provides enough hooks (or access to internal statistics) this could be realized via a plugin. I recommend that actually for prometheus, as it requires another endpoint to be added.

Saladoc avatar Jul 08 '22 19:07 Saladoc

Prometheus plugin will be available in the next release. Currently it mostly exposes Jetty related stats, but I guess we could extend in the future. Preview:

  • https://reposilite.com/plugin/prometheus

dzikoysk avatar Feb 28 '23 17:02 dzikoysk