夜莺-Nightingale
夜莺V7
项目介绍 功能概览
部署升级 部署升级
数据接入 数据接入
告警管理 告警管理
数据查看 数据查看
功能介绍 功能介绍
API FAQ
夜莺V6
项目介绍 架构介绍
快速开始 快速开始
黄埔营
安装部署 安装部署
升级
采集器 采集器
使用手册 使用手册
API API
数据库表结构 数据库表结构
FAQ FAQ
开源生态
Prometheus
版权声明
第1章:天降奇兵 第1章:天降奇兵
第2章:探索PromQL 第2章:探索PromQL
第3章:Prometheus告警处理 第3章:Prometheus告警处理
第4章:Exporter详解 第4章:Exporter详解
第5章:数据与可视化 第5章:数据与可视化
第6章:集群与高可用 第6章:集群与高可用
第7章:Prometheus服务发现 第7章:Prometheus服务发现
第8章:监控Kubernetes 第8章:监控Kubernetes
第9章:Prometheus Operator 第9章:Prometheus Operator
参考资料

If you are a heavy user of Grafana, you do not need to import Grafana dashboards into Nightingale; you can simply embed the page. You can view the relevant data in the Dashboard —> Integrated Dashboard section.

Integrated Dashboard001

Accessing Grafana

In the Integrated Dashboard, add a new configuration. The specific content to fill in is shown in the image below. After filling it out, you need to adjust the Grafana configuration based on different scenarios.

Integrated Dashboard002

Scenario 1: Embedding across different domains

Accessing from different domains may lead to issues where embedded pages cannot set cookies, resulting in inaccessible content. One of the main phenomena is that after logging in on the homepage, the third-party iframe cannot set the logged-in information in cookies, causing the third-party page to be unable to retrieve the login information and always display the login page. Inspecting the debugging interface will show the following error:

Integrated Dashboard004

To resolve the issue of cookies not being set, you need to modify the Grafana parameters. After making changes, restart Grafana for the configuration to take effect. The parameters are as follows:

[security]
cookie_secure = true    # Enable cookies relying on HTTPS
cookie_samesite = none  # Allow cookies to be sent with cross-site requests
allow_embedding = true   # Allow embedding Grafana

Note that enabling cookie_secure depends on HTTPS access. If you are not originally accessing via HTTPS, you need to add a proxy in Grafana and configure a self-signed certificate.

Integrated Dashboard005

Once the access address is configured, you can log in to the embedded page.

Integrated Dashboard006

Scenario 2: Embedding within the same domain

Integrated Dashboard003

For embedding within the same domain, modify the Grafana configuration as follows:

[security]
allow_embedding = true   # Allow embedding Grafana

[auth.anonymous]         # Enable anonymous access as needed; parameters are not necessary to modify
enabled = true           # Enable anonymous access
org_name = flashcat      # Specify the organization name for anonymous users
org_role = Viewer        # Specify the Viewer read-only permission for anonymous users
快猫星云 联系方式 快猫星云 联系方式
快猫星云 联系方式
快猫星云 联系方式
快猫星云 联系方式
快猫星云
OpenSource
开源版
Flashcat
Flashcat