Skip to content

Commit

Permalink
docs: optimize metrics document (#970)
Browse files Browse the repository at this point in the history
* 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: 琚致远 <juzhiyuan@apache.org>
  • Loading branch information
dickens7 and juzhiyuan authored Dec 10, 2020
1 parent 867ee79 commit e611cd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/USER_GUIDE.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

## 路由
Expand Down

0 comments on commit e611cd3

Please sign in to comment.