共计 460 个字符,预计需要花费 2 分钟才能阅读完成。
记录一下 iframe 嵌入 grafana
1. 批改配置文件,conf 下 default.ini
# set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
allow_embedding = true
改为
allow_embedding = true
#################################### Anonymous Auth ######################
[auth.anonymous]
# enable anonymous access
enabled = true
重启
curl -H “Authorization: Bearer eyJrIjoiVUhQSm1yaXVVMDlDRGpzM3FLNVNrZkswa0RMR0ZjaXkiLCJuIjoiYWRtaW4iLCJpZCI6MX0=” http://localhost:3000/api/dashboards/home
正文完