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 bcdd3b6 docs: add how to integrate with grafana preview link (#1697)
bcdd3b6 is described below
commit bcdd3b6caf75e026f565e3a6ac678d62c66bb0df
Author: geeklive <[email protected]>
AuthorDate: Mon Aug 30 23:15:03 2021 +0800
docs: add how to integrate with grafana preview link (#1697)
Co-authored-by: 琚致远 <[email protected]>
Co-authored-by: liuxiran <[email protected]>
---
docs/en/latest/FAQ.md | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md
index dfc0766..02e03d4 100644
--- a/docs/en/latest/FAQ.md
+++ b/docs/en/latest/FAQ.md
@@ -109,3 +109,23 @@ Note: You can use this method in development and test
environment to allow all I
### 7. What is the default strategy when import a duplicate route?
Currently we reject import duplicate route, that is to say when you import a
route which has the same attributes, all of the `uri` `uris` `host` `hosts`
`remote_addr` `remote_addrs` `priority` `vars` and `filter_func`, as the
existing route, you will get an error while importing a route from OAS3.0.
+
+### 8. APISIX dashboard add grafana cross-domain problem
+
+Modifying the Grafana configuration:
+
+1. Enable anonymous access:
+
+```shell
+# grep 'auth.anonymous' -A 3 defaults.ini
+[auth.anonymous]
+# enable anonymous access
+enabled = true
+```
+
+2. Allow access via iframe
+
+```shell
+# grep 'allow_embedding' defaults.ini
+allow_embedding = true
+···