登錄gitlab服務頁面創建應用AK
修改grafana的配置文件 grafana.ini
#################################### GitLab Auth ######################### [auth.gitlab] enabled = true allow_sign_up = true client_id = ab69a5a4a95c6dd425fe9021e241fd23b5542ed361cda7543c1359fe3368e21f client_secret = 02c2d534fbb3eb64d3c97350a61cc8c5938904bf1268e380983e56f1c89ed99b scopes = api auth_url = https://git.wp.info/oauth/authorize # token_url = https://git.wp.info/oauth/token api_url = https://git.wp.info.com/api/v4 ;allowed_domains = ;allowed_groups =
重新啟動grafana-server服務,登錄頁面中出現調轉到gitlab做認證的按鈕