Gitea: [Feature Request] Public status page, configurable

Created on 27 Jun 2018  路  9Comments  路  Source: go-gitea/gitea

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:

Public_Stat_Page

  • Open - Anybody can see the public stat page, regardless of whether the user is logged in or not
  • Logged in - Only logged in users can see the public stat page
  • Off - There is no public stat page

The 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

kinfeature kinproposal

Most helpful comment

Having an example grafana dashboard would be really nice, as prometheus metrics are already there O:-)

All 9 comments

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:-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tuxfanou picture tuxfanou  路  3Comments

lunny picture lunny  路  3Comments

cookiengineer picture cookiengineer  路  3Comments

lunny picture lunny  路  3Comments

jonasfranz picture jonasfranz  路  3Comments