aboutsummaryrefslogtreecommitdiff
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-09-14 22:29:43 -0400
committerUnknwon <u@gogs.io>2018-09-14 22:29:43 -0400
commit520530dfcf34fdf1a521d561dd95cf6fcbc76d64 (patch)
tree96afbbd0b4b96ea041c3ad6463d2503bfb6763ca /conf/app.ini
parent31c18b4bc729241ebc711abc24aac5860e2359a7 (diff)
metrics: add initial Prometheus support (#4141)
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index b910d82b..0c6512b1 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -464,6 +464,12 @@ NEWS_FEED_PAGING_NUM = 20
; Number of commits that are showed in one page
COMMITS_PAGING_NUM = 30
+[prometheus]
+ENABLED = true
+ENABLE_BASIC_AUTH = false
+BASIC_AUTH_USERNAME =
+BASIC_AUTH_PASSWORD =
+
[i18n]
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,gl-ES,uk-UA,en-GB,hu-HU,sk-SK,id-ID,fa-IR,vi-VN
NAMES = English,简体中文,繁體中文(香港),繁體中文(臺灣),Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어,galego,українська,English (United Kingdom),Magyar,Slovenčina,Indonesian,Persian,Vietnamese