Fabriciojf.com Wiki
  • FAQ
    • APIs
      • FAQs Favoritos

        Qual é a sua dúvida?

        •  Página inicial do FAQ
        • Grafana
        • Liberando embedding no Grafana

        Liberando embedding no Grafana


        Configurando Embedding on para permitir apresentar dashboards grafana em Iframes

        Edite o arquivo /etc/grafana/grafana.ini

        $ nano /etc/grafana/grafana.ini

        [security]

        [security]
        ...
        # set to true if you host Grafana behind HTTPS. default is false.
        cookie_secure = true

        # set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled"
        cookie_samesite = none

        # 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
        ...

        [auth.anonymous]

        [auth.anonymous]
        # enable anonymous access
        enabled = true

        # specify organization name that should be used for unauthenticated users
        org_name = dnk

        # specify role for unauthenticated users
        org_role = Viewer

        # mask the Grafana version number for unauthenticated users
        ;hide_version = false

        Reinicie o servidor grafana

        $ sudo service grafana restart
        or
        $ docker restart grafana
         Página inicial do FAQ
        • FAQ
          • APIs
            • FAQs Favoritos

              © Copyright 2025 Fabriciojf.com  Criado por FábioCostaMKT   Pastes   Administração