Grafana开启匿名登录

要为匿名用户设置登录,需要 grafana.ini在文件中进行配置。

如果要隐藏登录页面,请执行此配置


[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth
# disable_login_form = false 
disable_login_form = true
# 更改disable_login_form到true

启用匿名访问

 [auth.anonymous]
 # enable anonymous access 
   enabled = true

指定组织

# specify organization name that should be used for unauthenticated users
org_name = YOUR_ORG_NAME_HERE       
# 使用admin登录进去之后,修改了组织的名称, 保存,就OK了
# 重新启动grafana,你应该能够看到grafana(如果你没有看到dasboard,只需将你的组织角色Viewer改为Editor
# specify role for unauthenticated users
org_role = Editor
文章来自:https://www.cnblogs.com/shunzi115/p/12452596.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3