From 64cfac5fdfb2c6fc41b92bd1828afd95debbc8aa Mon Sep 17 00:00:00 2001 From: lifeng <52406499+feeltimeQ@users.noreply.github.com> Date: Wed, 23 Feb 2022 15:08:16 +0800 Subject: [PATCH] content/en/docs/ops/integrations/grafana/index.md (#10962) --- content/zh/docs/ops/integrations/grafana/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/zh/docs/ops/integrations/grafana/index.md b/content/zh/docs/ops/integrations/grafana/index.md index 0397c916bf..1ce8504e6b 100644 --- a/content/zh/docs/ops/integrations/grafana/index.md +++ b/content/zh/docs/ops/integrations/grafana/index.md @@ -47,7 +47,7 @@ $ GRAFANA_DATASOURCE="Prometheus" $ # The version of Istio to deploy $ VERSION={{< istio_full_version >}} $ # Import all Istio dashboards -$ for DASHBOARD in 7639 11829 7636 7630 7642 7645; do +$ for DASHBOARD in 7639 11829 7636 7630 7645; do $ REVISION="$(curl -s https://grafana.com/api/dashboards/${DASHBOARD}/revisions -s | jq ".items[] | select(.description | contains(\"${VERSION}$\")) | .revision")" $ curl -s https://grafana.com/api/dashboards/${DASHBOARD}/revisions/${REVISION}/download > /tmp/dashboard.json $ echo "Importing $(cat /tmp/dashboard.json | jq -r '.title') (revision ${REVISION}, id ${DASHBOARD})..."