编辑配置文件中的auth.anonymous的enabled设置为true就可以匿名登录,不用输入用户名和密码
vim /etc/grafana/grafana.ini
[auth.anonymous]
# enable anonymous access
enabled = true
# specify organization name that should be used for unauthenticated users
org_name = Main Org.
# specify role for unauthenticated users
org_role = Viewer