Grafana安装后web打开报错如下:

If you’re seeing this Grafana has failed to load its application files

  1. This could be caused by your reverse proxy settings.
  2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath. If not using a reverse proxy make sure to set serve_from_sub_path to true.
  3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
  4. Sometimes restarting grafana-server can help
  5. Check if you are using a non-supported browser. For more information, refer to the list of supported browsers.
    在这里插入图片描述

解决方法有两种:

1.换用官网支持的浏览器

在这里插入图片描述

2.修改/opt/module/grafana-9.0.5/conf/defaults.ini

将allow_embedding 设置为true(set to true if you want to allow browsers to render Grafana in a , , or . default is false.)

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐