关于iframe:iframe嵌入grafana配置记录

记录一下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

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理