mirror of https://github.com/istio/istio.io.git
content/en/docs/ops/integrations/grafana/index.md (#10962)
This commit is contained in:
parent
66b10ba7f7
commit
64cfac5fdf
|
@ -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})..."
|
||||
|
|
Loading…
Reference in New Issue