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

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐