r/gitea: Enable Prometheus metrics

Gitea provides a Prometheus-compatible metrics endpoint at `/metrics`,
but it is disabled by default.
jenkins-master
Dustin 2021-10-18 10:11:44 -05:00
parent d8919f6424
commit 6df0d7bea4
1 changed files with 3 additions and 0 deletions

View File

@ -64,3 +64,6 @@ ROOT_PATH = /var/log/gitea
[oauth2] [oauth2]
JWT_SECRET = {{ gitea_oauth2_jwt_secret }} JWT_SECRET = {{ gitea_oauth2_jwt_secret }}
[metrics]
ENABLED = true