You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/12/10 07:34:19 UTC

[apisix-dashboard] branch master updated: docs: optimize metrics document (#970)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new e611cd3  docs: optimize metrics document (#970)
e611cd3 is described below

commit e611cd36c85bdb9c5cbc6b11ad52afe092ed6582
Author: seven dickens <41...@users.noreply.github.com>
AuthorDate: Thu Dec 10 15:34:08 2020 +0800

    docs: optimize metrics document (#970)
    
    * docs: optimize metrics document
    
    * docs: modified style
    
    * docs: modified style
    
    * Update USER_GUIDE.zh-CN.md
    
    * Update USER_GUIDE.zh-CN.md
    
    * Update USER_GUIDE.md
    
    Co-authored-by: 琚致远 <ju...@apache.org>
---
 docs/USER_GUIDE.md       | 2 ++
 docs/USER_GUIDE.zh-CN.md | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md
index 76c4977..6e961b2 100644
--- a/docs/USER_GUIDE.md
+++ b/docs/USER_GUIDE.md
@@ -23,6 +23,8 @@ The following are parts of the modules' snapshot.
 
 ## Metrics
 
+We support the monitor page by referencing it in [iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe). Before accessing [Grafana](https://grafana.com/), please Enable [`allow_embedding=true`](https://grafana.com/docs/grafana/latest/administration/configuration/#allow_embedding), which defaults to `false`. This causes the browser to fail to render Grafana pages properly due to security policies.
+
 ![metrics-en](./images/metrics-en.png)
 
 ## Route
diff --git a/docs/USER_GUIDE.zh-CN.md b/docs/USER_GUIDE.zh-CN.md
index 50fe88b..b18b7ad 100644
--- a/docs/USER_GUIDE.zh-CN.md
+++ b/docs/USER_GUIDE.zh-CN.md
@@ -23,6 +23,8 @@
 
 ## 监控
 
+我们通过 [iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) 引用的方式以支持监控页,访问 [Grafana](https://grafana.com/) 前请启用 [`allow_embedding=true`](https://grafana.com/docs/grafana/latest/administration/configuration/#allow_embedding),该配置项默认为 `false`,这将导致浏览器因安全策略而无法正常渲染 Grafana 页面。
+
 ![metrics-en](./images/metrics-en.png)
 
 ## 路由