Currently, I have to be admin to view stats about the server though I would like to be able to publish some stats publicly.
What I propose:
Open
- Anybody can see the public stat page, regardless of whether the user is logged in or notLogged in
- Only logged in users can see the public stat pageOff
- There is no public stat pageThe stat page can have a section within app.ini
where certain stats can be marked as true or false as to whether the admin wants this stat to be published on the public stat page
Feel free to add or comment below
This is related to #2751. Personally I would prefer it to be published out to an external tool rather than baking this customization into Gitea itself. GitLab publishes their prometheus dashboards, but not everyone does.
Hmm, I didn't know that there was a "standard" for this already. That being said, I'd like to be able to decide which metrics to expose to the endpoint using the settings(app.ini) file
You could also create a custom grafana dashboard based on the metrics from gitea and only show what you want publicly while keeping the metrcis endpoint private.
Can we close this issue since we now have Prometheus support ? Or is a status page actually in the pipeline?
@adelowo With Prometheus you can set that up pretty easily. You could stick a Grafana to it and then make that publicly.
We could publish an example config for that though.
Sure, Prometheus already gets us halfway. I don鈥檛 know what next weekend is going to look like for me as per schedule but if free enough, I鈥檇 put up a grafana dashboard.
I thought this feature request was a status page like a minimal https://www.statuspage.io instead .
Something like that but also with some stuff like average RAM usage, users signed up, number of repos, as well as uptime percentage, as well as some announcement page? But that could easily just be a repo that one admin makes and updates as seen fit
@BNolet AFAIK you can do all of that (maybe without the announcement page) with a Grafana dashboard and prometheus.
Having an example grafana dashboard would be really nice, as prometheus metrics are already there O:-)
Most helpful comment
Having an example grafana dashboard would be really nice, as prometheus metrics are already there O:-)