mirror of https://github.com/istio/istio.io.git
Fix grafana dashboard URLS after grafana update (#10349)
This commit is contained in:
parent
217e9046f3
commit
c5384c98ff
|
@ -54,7 +54,7 @@ the example application throughout this task.
|
|||
$ istioctl dashboard grafana
|
||||
{{< /text >}}
|
||||
|
||||
Visit [http://localhost:3000/dashboard/db/istio-mesh-dashboard](http://localhost:3000/dashboard/db/istio-mesh-dashboard) in your web browser.
|
||||
Visit [http://localhost:3000/d/G8wLrJIZk/istio-mesh-dashboard](http://localhost:3000/d/G8wLrJIZk/istio-mesh-dashboard) in your web browser.
|
||||
|
||||
The Istio Dashboard will look similar to:
|
||||
|
||||
|
@ -85,7 +85,7 @@ the example application throughout this task.
|
|||
1. Visualize Service Dashboards.
|
||||
|
||||
From the Grafana dashboard's left hand corner navigation menu, you can navigate to Istio Service Dashboard or visit
|
||||
[http://localhost:3000/dashboard/db/istio-service-dashboard](http://localhost:3000/dashboard/db/istio-service-dashboard) in your web browser.
|
||||
[http://localhost:3000/d/LJ_uJAvmk/istio-service-dashboard](http://localhost:3000/d/LJ_uJAvmk/istio-service-dashboard) in your web browser.
|
||||
|
||||
{{< tip >}}
|
||||
You may need to select a service in the Service dropdown.
|
||||
|
@ -101,7 +101,7 @@ the example application throughout this task.
|
|||
1. Visualize Workload Dashboards.
|
||||
|
||||
From the Grafana dashboard's left hand corner navigation menu, you can navigate to Istio Workload Dashboard or visit
|
||||
[http://localhost:3000/dashboard/db/istio-workload-dashboard](http://localhost:3000/dashboard/db/istio-workload-dashboard) in your web browser.
|
||||
[http://localhost:3000/d/UbsSZTDik/istio-workload-dashboard](http://localhost:3000/d/UbsSZTDik/istio-workload-dashboard) in your web browser.
|
||||
|
||||
The Istio Workload Dashboard will look similar to:
|
||||
|
||||
|
|
|
@ -43,15 +43,15 @@ snip_viewing_the_istio_dashboard_3 &
|
|||
# For verification, we only check if the dashboards are accessible, but not its actual contents
|
||||
# TODO: Is it worth checking API calls and output for Grafana case?
|
||||
function access_grafana_istio_mesh_dashboard() {
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/dashboard/db/istio-mesh-dashboard"
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/d/G8wLrJIZk/istio-mesh-dashboard"
|
||||
}
|
||||
|
||||
function access_grafana_istio_service_dashboard() {
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/dashboard/db/istio-service-dashboard"
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/d/LJ_uJAvmk/istio-service-dashboard"
|
||||
}
|
||||
|
||||
function access_grafana_istio_workload_dashboard() {
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/dashboard/db/istio-workload-dashboard"
|
||||
curl -L -s -o /dev/null -w '%{http_code}' "http://localhost:3000/d/UbsSZTDik/istio-workload-dashboard"
|
||||
}
|
||||
|
||||
# Grafana calls this behind the scenes. It sends a query to prometheus
|
||||
|
|
Loading…
Reference in New Issue